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

2018-07-20 Thread Singh, Jasvinder
> -Original Message- > From: Van Haaren, Harry > Sent: Friday, July 20, 2018 11:32 AM > To: Singh, Jasvinder ; dev@dpdk.org > Cc: Dumitrescu, Cristian > Subject: RE: [dpdk-dev] [PATCH] net/softnic: fix memory illegal access > > > -Original Message

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

2018-07-20 Thread Van Haaren, Harry
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Jasvinder Singh > Sent: Friday, July 20, 2018 10:45 AM > To: dev@dpdk.org > Cc: Dumitrescu, Cristian > Subject: [dpdk-dev] [PATCH] net/softnic: fix memory illegal access > > While deleting the elements from the li

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

2018-07-20 Thread Bruce Richardson
On Fri, Jul 20, 2018 at 10:44:39AM +0100, Jasvinder Singh wrote: > While deleting the elements from the linked list, TAILQ_FOREACH causes > read from the freed pointer. Fixes the issue by using for loop instead > of TAILQ_FOREACH. > > Coverity issue: 302867 > Fixes: bef50bcb1c47 ("net/softnic: imp