From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH v2] net/softnic: fix memory illegal access Date: Fri, 20 Jul 2018 16:19:45 +0100 Message-ID: References: <20180720094439.100562-1-jasvinder.singh@intel.com> <20180720110536.78526-1-jasvinder.singh@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: cristian.dumitrescu@intel.com To: Jasvinder Singh , dev@dpdk.org Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 497212BA7 for ; Fri, 20 Jul 2018 17:19:50 +0200 (CEST) In-Reply-To: <20180720110536.78526-1-jasvinder.singh@intel.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 > Acked-by: Cristian Dumitrescu Applied to dpdk-next-net/master, thanks.