From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 453CD99D6 for ; Mon, 31 Jul 2017 14:49:21 +0200 (CEST) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 31 Jul 2017 05:49:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.40,442,1496127600"; d="scan'208";a="131511260" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.48]) ([10.237.220.48]) by orsmga005.jf.intel.com with ESMTP; 31 Jul 2017 05:49:16 -0700 To: Declan Doherty , Tomasz Kulasek , dev@dpdk.org References: <20170726155048.10648-1-tomaszx.kulasek@intel.com> <31a717db-a089-7567-bb5b-49f6693cf343@intel.com> From: Ferruh Yigit Message-ID: Date: Mon, 31 Jul 2017 13:49:16 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <31a717db-a089-7567-bb5b-49f6693cf343@intel.com> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] bonding: fix segfault when primary slave set X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Jul 2017 12:49:21 -0000 On 7/26/2017 6:06 PM, Declan Doherty wrote: > 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 Applied to dpdk-next-net/master, thanks.