[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180607.165407.1134875337657297314.davem@davemloft.net>
Date: Thu, 07 Jun 2018 16:54:07 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: yuxiangning@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net] bonding: re-evaluate force_primary when the
primary slave name changes
From: Xiangning Yu <yuxiangning@...il.com>
Date: Thu, 7 Jun 2018 13:39:59 +0800
> From: Xiangning Yu <yuxiangning@...il.com>
>
> There is a timing issue under active-standy mode, when bond_enslave() is
> called, bond->params.primary might not be initialized yet.
>
> Any time the primary slave string changes, bond->force_primary should be
> set to true to make sure the primary becomes the active slave.
>
> Signed-off-by: Xiangning Yu <yuxiangning@...il.com>
Applied and queued up for -stable.
Powered by blists - more mailing lists