[dpdk-dev] [PATCH] app/test: fix crash of lpm test

2016-11-12 Thread Thomas Monjalon
> > The test recently added accesses to lpm->tbl8[ip >> 8] with is much larger > > than > > the size of the table, causing a crash of the test application. > > > > Fix this typo by replacing tbl8 by tbl24. > > > > Fixes: 231fa88ed522 ("app/test: verify LPM tbl8 recycle") > > > > Signed-off-by:

[dpdk-dev] [PATCH] app/test: fix crash of lpm test

2016-11-10 Thread Dai, Wei
Hi, Oliver Thanks for your catching this bug. After reviewing related codes, I can acknowledge it. Thanks -Wei > -Original Message- > From: Olivier Matz [mailto:olivier.matz at 6wind.com] > Sent: Wednesday, November 9, 2016 9:08 PM > To: dev at dpdk.org; Dai, Wei > Cc: Richardson, Bruce

[dpdk-dev] [PATCH] app/test: fix crash of lpm test

2016-11-09 Thread Olivier Matz
The test recently added accesses to lpm->tbl8[ip >> 8] with is much larger than the size of the table, causing a crash of the test application. Fix this typo by replacing tbl8 by tbl24. Fixes: 231fa88ed522 ("app/test: verify LPM tbl8 recycle") Signed-off-by: Olivier Matz --- Hi Wei, I don't k