From: Ferruh Yigit Subject: Re: [PATCH 2/2] net/bonding: always update bonding link status Date: Thu, 14 Jun 2018 18:05:57 +0100 Message-ID: References: <20180517232252.19908-1-3chas3@gmail.com> <20180517232252.19908-2-3chas3@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: declan.doherty@intel.com, Chas Williams , stable@dpdk.org To: Chas Williams <3chas3@gmail.com>, dev@dpdk.org Return-path: In-Reply-To: <20180517232252.19908-2-3chas3@gmail.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 5/18/2018 12:22 AM, Chas Williams wrote: > From: Chas Williams > > When the first ETH_LINK_UP slave is added to a bonding device, it is > immediately activated. If these are polling slaves, there will be a > later link state event, when last_link_status doesn't match link_status. > But because this slave is already activated, the bonding device's link > status isn't updated. > > To fix this, we always attempt to update the bonding device's link status > in the link state change callback. > > Fixes: 46fb43683679 ("bond: add mode 4") > Cc: stable@dpdk.org > > Signed-off-by: Chas Williams Applied to dpdk-next-net/master, thanks.