From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] net/enic: fix segfault after receiving error interrupt Date: Fri, 15 Jul 2016 23:33:20 +0200 Message-ID: <1489897.9sSbybFCKM@xps13> References: <1468458557-17989-1-git-send-email-neescoba@cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, bruce.richardson@intel.com To: Nelson Escobar Return-path: Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) by dpdk.org (Postfix) with ESMTP id 75EE35599 for ; Fri, 15 Jul 2016 23:33:22 +0200 (CEST) Received: by mail-wm0-f49.google.com with SMTP id f65so39966919wmi.0 for ; Fri, 15 Jul 2016 14:33:22 -0700 (PDT) In-Reply-To: <1468458557-17989-1-git-send-email-neescoba@cisco.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-07-13 18:09, Nelson Escobar: > When enic's interrupt handler is called indicating an error, it scans > through the receive queues (RQs) on the adapter looking for errors. > But since the inclusion of rx scatter, some of the RQs may not be in > use, and you shouldn't check them for errors. > > Fixes: 856d7ba7ed22 ("net/enic: support scattered Rx") > > Signed-off-by: Nelson Escobar > Reviewed-by: John Daley Applied, thanks