From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: [PATCH] bonding: fix initialisation of current_primary_port Date: Fri, 25 Mar 2016 14:09:39 +0000 Message-ID: <20160325140938.GB14060@bricha3-MOBL3> References: <1458754205-11261-1-git-send-email-bernard.iremonger@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org, ferruh.yigit@intel.com, michalx.k.jastrzebski@intel.com To: Bernard Iremonger Return-path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 1F3F0374F for ; Fri, 25 Mar 2016 15:09:42 +0100 (CET) Content-Disposition: inline In-Reply-To: <1458754205-11261-1-git-send-email-bernard.iremonger@intel.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 Wed, Mar 23, 2016 at 05:30:05PM +0000, Bernard Iremonger wrote: > The current_primary_port is initialised to an invalid value > during bonded device creation. > It should be set to a valid value later. > This fix sets it to a valid value when the first slave port > is added to the bonding device. > > Fixes: 2efb58cbab6e ("bond: new link bonding library") > > Signed-off-by: Bernard Iremonger > --- Acked-by: Bruce Richardson Applied to dpdk-next-net/rel_16_04 /Bruce