From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] net/bonding: fix segfault when creating bonded device Date: Wed, 31 Oct 2018 17:11:19 +0100 Message-ID: <3736462.5cob8yss4D@xps> References: <1540994346-17532-1-git-send-email-radu.nicolau@intel.com> <1541001008-13498-1-git-send-email-radu.nicolau@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, declan.doherty@intel.com, chas3@att.com, ferruh.yigit@intel.com, arybchenko@solarflare.com To: Radu Nicolau Return-path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id C8CF723D for ; Wed, 31 Oct 2018 17:11:15 +0100 (CET) In-Reply-To: <1541001008-13498-1-git-send-email-radu.nicolau@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" 31/10/2018 16:50, Radu Nicolau: > After the patch below the call to rte_eth_bond_8023ad_agg_selection_set > from probe() segfaults; there is no need to call the function, just set > the mode directly. > Also, reverted 1620175b400e. > > Fixes: 391797f04208 ("drivers/bus: move driver assignment to end of probing") > Fixes: 1620175b400e ("net/bonding: fix invalid port id") > > Signed-off-by: Radu Nicolau I cannot ack because I do not master this PMD, but it looks good to me.