Re: [dpdk-dev] [PATCH v2] examples/l2fwd_fork: fix message pool init

2017-10-13 Thread Thomas Monjalon
15/09/2017 17:37, Xueming Li: > 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 pointer

[dpdk-dev] [PATCH v2] examples/l2fwd_fork: fix message pool init

2017-09-15 Thread Xueming Li
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/l2f