examples/l2fwd_fork: fix message pool init
authorXueming Li <xuemingl@mellanox.com>
Fri, 15 Sep 2017 15:37:21 +0000 (23:37 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 13 Oct 2017 22:36:12 +0000 (00:36 +0200)
commit9b85b871cc52d1219f5a68131059e539f7ee9916
tree67ca0ff284055edcb16e04b79e0e2afca390a7cc
parent7a08b1d860a3adbc7315bc5ca532d541d07310af
examples/l2fwd_fork: fix message pool init

Some invalid callback functions are provided to rte_pktmbuf_pool_init()
without their associated data causing a segmentation fault when the
function tries to use it. In this example, those callbacks are not
necessary, they can be safely replaced by NULL pointers.

Fixes: 95e8005a56e8 ("examples/l2fwd_fork: new app")
Cc: stable@dpdk.org
Signed-off-by: Xueming Li <xuemingl@mellanox.com>
examples/multi_process/l2fwd_fork/main.c