summaryrefslogtreecommitdiffstats
path: root/net/ipv6/route.c
diff options
context:
space:
mode:
authorXiangning Yu <yuxiangning@gmail.com>2018-06-07 13:39:59 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-06-26 08:08:06 +0800
commit780617b249e469750a49d38d0cdc845ba7398ea1 (patch)
tree7f3d27ff8b24a9739085fbde6eb3f20d3640f2b1 /net/ipv6/route.c
parentc4f24a093f02bc43a602c08550d828ce34477380 (diff)
downloadlinux-stable-780617b249e469750a49d38d0cdc845ba7398ea1.tar.gz
linux-stable-780617b249e469750a49d38d0cdc845ba7398ea1.tar.bz2
linux-stable-780617b249e469750a49d38d0cdc845ba7398ea1.zip
bonding: re-evaluate force_primary when the primary slave name changes
[ Upstream commit eb55bbf865d9979098c6a7a17cbdb41237ece951 ] 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> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/ipv6/route.c')
0 files changed, 0 insertions, 0 deletions