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

2014-11-27 Thread Thomas Monjalon
2014-10-02 07:37, Neil Horman: > On Thu, Oct 02, 2014 at 09:47:19AM +0200, Thomas Monjalon wrote: > > 2014-10-01 17:05, Bruce Richardson: > > > On Wed, Oct 01, 2014 at 12:01:10PM -0400, Neil Horman wrote: > > > > On Wed, Oct 01, 2014 at 04:43:10PM +0100, Bruce Richardson wrote: > > > > > On Wed, Oc

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

2014-10-02 Thread Thomas Monjalon
2014-10-01 17:05, Bruce Richardson: > On Wed, Oct 01, 2014 at 12:01:10PM -0400, Neil Horman wrote: > > On Wed, Oct 01, 2014 at 04:43:10PM +0100, Bruce Richardson wrote: > > > On Wed, Oct 01, 2014 at 11:02:27AM -0400, Neil Horman wrote: > > > > On Wed, Oct 01, 2014 at 03:36:45PM +0200, Thomas Monjal

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

2014-10-02 Thread Neil Horman
On Thu, Oct 02, 2014 at 09:47:19AM +0200, Thomas Monjalon wrote: > 2014-10-01 17:05, Bruce Richardson: > > On Wed, Oct 01, 2014 at 12:01:10PM -0400, Neil Horman wrote: > > > On Wed, Oct 01, 2014 at 04:43:10PM +0100, Bruce Richardson wrote: > > > > On Wed, Oct 01, 2014 at 11:02:27AM -0400, Neil Horm

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

2014-10-01 Thread Bruce Richardson
On Wed, Oct 01, 2014 at 12:01:10PM -0400, Neil Horman wrote: > On Wed, Oct 01, 2014 at 04:43:10PM +0100, Bruce Richardson wrote: > > On Wed, Oct 01, 2014 at 11:02:27AM -0400, Neil Horman wrote: > > > On Wed, Oct 01, 2014 at 03:36:45PM +0200, Thomas Monjalon wrote: > > > > 2014-09-28 08:27, Neil Hor

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

2014-10-01 Thread Bruce Richardson
On Wed, Oct 01, 2014 at 11:02:27AM -0400, Neil Horman wrote: > On Wed, Oct 01, 2014 at 03:36:45PM +0200, Thomas Monjalon wrote: > > 2014-09-28 08:27, Neil Horman: > > > On Sun, Sep 28, 2014 at 05:28:44AM +, Wiles, Roger Keith wrote: > > > > Check the FILE *f and rte_mempool *mp pointers for NUL

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

2014-10-01 Thread Wiles, Roger Keith
On Oct 1, 2014, at 10:43 AM, Bruce Richardson wrote: > On Wed, Oct 01, 2014 at 11:02:27AM -0400, Neil Horman wrote: >> On Wed, Oct 01, 2014 at 03:36:45PM +0200, Thomas Monjalon wrote: >>> 2014-09-28 08:27, Neil Horman: On Sun, Sep 28, 2014 at 05:28:44AM +, Wiles, Roger Keith wrote: >>>

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

2014-10-01 Thread Thomas Monjalon
2014-09-28 08:27, Neil Horman: > On Sun, Sep 28, 2014 at 05:28:44AM +, 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 > > I'm fine with th

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

2014-10-01 Thread Neil Horman
On Wed, Oct 01, 2014 at 04:43:10PM +0100, Bruce Richardson wrote: > On Wed, Oct 01, 2014 at 11:02:27AM -0400, Neil Horman wrote: > > On Wed, Oct 01, 2014 at 03:36:45PM +0200, Thomas Monjalon wrote: > > > 2014-09-28 08:27, Neil Horman: > > > > On Sun, Sep 28, 2014 at 05:28:44AM +, Wiles, Roger K

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

2014-10-01 Thread Neil Horman
On Wed, Oct 01, 2014 at 03:36:45PM +0200, Thomas Monjalon wrote: > 2014-09-28 08:27, Neil Horman: > > On Sun, Sep 28, 2014 at 05:28:44AM +, 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_DEB

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

2014-09-28 Thread Wiles, Roger Keith
On Sep 28, 2014, at 7:27 AM, Neil Horman wrote: > On Sun, Sep 28, 2014 at 05:28:44AM +, 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 v2] rte_mempool_dump() crashes with NULL rte_mempool pointer.

2014-09-28 Thread Neil Horman
On Sun, Sep 28, 2014 at 05:28:44AM +, 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 | 3 +++ > 1 file

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

2014-09-28 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 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/librte_mempool/rte_mempool.c b/lib/librt