Re: [dpdk-dev] [PATCH v2] net/softnic: fix memory illegal access

2018-07-20 Thread Ferruh Yigit
On 7/20/2018 12:05 PM, Jasvinder Singh wrote: > While deleting the elements from the linked list, TAILQ_FOREACH causes > read from the freed pointer. Fixes the issue by using TAILQ_FOREACH_SAFE > instead. > > Coverity issue: 302867 > Fixes: bef50bcb1c47 ("net/softnic: implement start and stop") >

[dpdk-dev] [PATCH v2] net/softnic: fix memory illegal access

2018-07-20 Thread Jasvinder Singh
While deleting the elements from the linked list, TAILQ_FOREACH causes read from the freed pointer. Fixes the issue by using TAILQ_FOREACH_SAFE instead. Coverity issue: 302867 Fixes: bef50bcb1c47 ("net/softnic: implement start and stop") Signed-off-by: Jasvinder Singh Acked-by: Cristian Dumitres