[dpdk-dev] [PATCH] rte_mempool_dump() crashes with NULL rte_mempool pointer.

2014-09-28 Thread Neil Horman
On Sun, Sep 28, 2014 at 05:38:06AM +, Wiles, Roger Keith wrote: > > On Sep 27, 2014, at 8:55 PM, Neil Horman wrote: > > > On Sun, Sep 28, 2014 at 01:14:05AM +, Wiles, Roger Keith wrote: > >> > >> On Sep 27, 2014, at 7:37 PM, Neil Horman wrote: > >> > >>> On Sat, Sep 27, 2014 at 06:35:

[dpdk-dev] [PATCH] rte_mempool_dump() crashes with NULL rte_mempool pointer.

2014-09-28 Thread Wiles, Roger Keith
On Sep 27, 2014, at 8:55 PM, Neil Horman wrote: > On Sun, Sep 28, 2014 at 01:14:05AM +, Wiles, Roger Keith wrote: >> >> On Sep 27, 2014, at 7:37 PM, Neil Horman wrote: >> >>> On Sat, Sep 27, 2014 at 06:35:01PM +, Wiles, Roger Keith wrote: Check the FILE *f and rte_mempool *

[dpdk-dev] [PATCH] rte_mempool_dump() crashes with NULL rte_mempool pointer.

2014-09-28 Thread Wiles, Roger Keith
On Sep 27, 2014, at 7:37 PM, Neil Horman wrote: > On Sat, Sep 27, 2014 at 06:35:01PM +, Wiles, Roger Keith wrote: >> >> Check the FILE *f and rte_mempool *mp pointers for NULL and >> return plus print out a message if RTE_LIBRTE_MEMPOOL_DEBUG is enabled. >> >> Signed-off-by: Keith Wiles >

[dpdk-dev] [PATCH] rte_mempool_dump() crashes with NULL rte_mempool pointer.

2014-09-28 Thread Wiles, Roger Keith
OK, let me look at RTE_VERIFY then and will send a new patch. On Sep 27, 2014, at 7:37 PM, Neil Horman wrote: > On Sat, Sep 27, 2014 at 06:35:01PM +, Wiles, Roger Keith wrote: >> >> Check the FILE *f and rte_mempool *mp pointers for NULL and >> return plus print out a message if RTE_LIBRTE_

[dpdk-dev] [PATCH] rte_mempool_dump() crashes with NULL rte_mempool pointer.

2014-09-27 Thread Neil Horman
On Sun, Sep 28, 2014 at 01:14:05AM +, Wiles, Roger Keith wrote: > > On Sep 27, 2014, at 7:37 PM, Neil Horman wrote: > > > On Sat, Sep 27, 2014 at 06:35:01PM +, Wiles, Roger Keith wrote: > >> > >> Check the FILE *f and rte_mempool *mp pointers for NULL and > >> return plus print out a me

[dpdk-dev] [PATCH] rte_mempool_dump() crashes with NULL rte_mempool pointer.

2014-09-27 Thread Neil Horman
On Sat, Sep 27, 2014 at 06:35:01PM +, Wiles, Roger Keith wrote: > > Check the FILE *f and rte_mempool *mp pointers for NULL and > return plus print out a message if RTE_LIBRTE_MEMPOOL_DEBUG is enabled. > > Signed-off-by: Keith Wiles > --- > lib/librte_mempool/rte_mempool.c | 6 ++ > 1 f

[dpdk-dev] [PATCH] rte_mempool_dump() crashes with NULL rte_mempool pointer.

2014-09-27 Thread Wiles, Roger Keith
Check the FILE *f and rte_mempool *mp pointers for NULL and return plus print out a message if RTE_LIBRTE_MEMPOOL_DEBUG is enabled. Signed-off-by: Keith Wiles --- lib/librte_mempool/rte_mempool.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/lib/librte_mempool/rte_mempool.c b/lib/li