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

Ferruh Yigit ferruh.yigit at intel.com
Fri Jul 20 17:19:45 CEST 2018


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")
> 
> Signed-off-by: Jasvinder Singh <jasvinder.singh at intel.com>
> Acked-by: Cristian Dumitrescu <cristian.dumitrescu at intel.com>

Applied to dpdk-next-net/master, thanks.


More information about the dev mailing list