From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] bonding: fix segfault when primary slave set Date: Sun, 30 Jul 2017 23:43:46 +0200 Message-ID: <4080378.07Ggvf54qe@xps> References: <20170726155048.10648-1-tomaszx.kulasek@intel.com> <31a717db-a089-7567-bb5b-49f6693cf343@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Tomasz Kulasek To: Declan Doherty Return-path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 1874C99BD for ; Sun, 30 Jul 2017 23:43:49 +0200 (CEST) In-Reply-To: <31a717db-a089-7567-bb5b-49f6693cf343@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 26/07/2017 19:06, Declan Doherty: > On 26/07/2017 4:50 PM, Tomasz Kulasek wrote: > > rte_eth_bond_primary_set segfaults for invalid port. This patch moves > > devices check before use of internal data. > > > > Fixes: 4c42498d916d ("net/bonding: allow slaves to also be bonded devices") > > > > Signed-off-by: Tomasz Kulasek > > Acked-by: Declan Doherty Please Declan, review patches from other contributors, thanks