From: David Miller <davem@davemloft.net>
To: yuxiangning@gmail.com
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH net] bonding: re-evaluate force_primary when the primary slave name changes
Date: Thu, 07 Jun 2018 16:54:07 -0400 (EDT) [thread overview]
Message-ID: <20180607.165407.1134875337657297314.davem@davemloft.net> (raw)
In-Reply-To: <A977208F-4266-411B-8DA5-0C6901F201E7@gmail.com>
From: Xiangning Yu <yuxiangning@gmail.com>
Date: Thu, 7 Jun 2018 13:39:59 +0800
> From: Xiangning Yu <yuxiangning@gmail.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@gmail.com>
Applied and queued up for -stable.
prev parent reply other threads:[~2018-06-07 20:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-07 5:39 [PATCH net] bonding: re-evaluate force_primary when the primary slave name changes Xiangning Yu
2018-06-07 20:54 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180607.165407.1134875337657297314.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=yuxiangning@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).