[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170405.071635.1490651894506059902.davem@davemloft.net>
Date: Wed, 05 Apr 2017 07:16:35 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: mahesh@...dewar.net
Cc: j.vosburgh@...il.com, andy@...yhouse.net, vfalico@...il.com,
nikolay@...hat.com, edumazet@...gle.com, netdev@...r.kernel.org,
maheshb@...gle.com
Subject: Re: [PATCH next] bonding: fix active-backup transition
From: Mahesh Bandewar <mahesh@...dewar.net>
Date: Mon, 3 Apr 2017 18:38:39 -0700
> From: Mahesh Bandewar <maheshb@...gle.com>
>
> Earlier patch c4adfc822bf5 ("bonding: make speed, duplex setting
> consistent with link state") made an attempt to keep slave state
> consistent with speed and duplex settings. Unfortunately link-state
> transition is used to change the active link especially when used
> in conjunction with mii-mon. The above mentioned patch broke that
> logic. Also when speed and duplex settings for a link are updated
> during a link-event, the link-status should not be changed to
> invoke correct transition logic.
>
> This patch fixes this issue by moving the link-state update outside
> of the bond_update_speed_duplex() fn and to the places where this fn
> is called and update link-state selectively.
>
> Fixes: c4adfc822bf5 ("bonding: make speed, duplex setting consistent
> with link state")
> Signed-off-by: Mahesh Bandewar <maheshb@...gle.com>
Applied, thanks.
Powered by blists - more mailing lists