Re: [dpdk-dev] [PATCH 1/3] mempool: fix segfault for unlinked mempool handler

2017-03-30 Thread Shreyansh Jain
On Friday 31 March 2017 10:59 AM, Shreyansh Jain wrote: Fixes: 449c49b93a6b ("mempool: support handler operations") In case the stack or ring mempool handler are compiled as shared library and not linked in with test binary, segfault is reported. This is because return value of rte_mempool_set_o

[dpdk-dev] [PATCH 1/3] mempool: fix segfault for unlinked mempool handler

2017-03-30 Thread Shreyansh Jain
Fixes: 449c49b93a6b ("mempool: support handler operations") In case the stack or ring mempool handler are compiled as shared library and not linked in with test binary, segfault is reported. This is because return value of rte_mempool_set_ops_byname is not being checked in rte_mempool_ops_alloc.