]> git.droids-corp.org - dpdk.git/blobdiff - examples/ip_pipeline/init.c
mbuf: remove rte_ctrlmbuf
[dpdk.git] / examples / ip_pipeline / init.c
index d00027fef92b9eb4c1cf4f7e5dfd3e3ad246fe20..e3ebd464d1c6c12d28990765e420f734fd7cc54a 100644 (file)
@@ -561,7 +561,7 @@ app_ping(void)
                        rte_panic("Unable to allocate new message\n");
 
                req = (struct app_msg_req *)
-                       ((struct rte_mbuf *)msg)->ctrl.data;
+                               rte_ctrlmbuf_data((struct rte_mbuf *)msg);
                req->type = APP_MSG_REQ_PING;
 
                /* Send request */