From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: [PATCH v4 1/2] enic: fix seg fault when releasing queues Date: Mon, 13 Jun 2016 15:23:51 +0100 Message-ID: <20160613142351.GG15736@bricha3-MOBL3> References: <20160610092236.GA11860@bricha3-MOBL3> <1465666025-10159-1-git-send-email-johndale@cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org To: John Daley Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id E1BA33978 for ; Mon, 13 Jun 2016 16:23:54 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1465666025-10159-1-git-send-email-johndale@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" On Sat, Jun 11, 2016 at 10:27:04AM -0700, John Daley wrote: > If device configuration failed due to a lack of resources, such as > if more queues are requested than are available, the queue release > functions are called with NULL pointers which were being dereferenced. > > Skip releasing queues if they are NULL pointers. > > Fixes: fefed3d1e62c ("enic: new driver") > Signed-off-by: John Daley Patchset applied to dpdk-next-net/rel_16_07 /Bruce