summaryrefslogtreecommitdiff
path: root/drivers/memory
diff options
context:
space:
mode:
authorXiangning Yu <yuxiangning@gmail.com>2018-06-07 08:39:59 +0300
committerDavid S. Miller <davem@davemloft.net>2018-06-07 23:47:10 +0300
commiteb55bbf865d9979098c6a7a17cbdb41237ece951 (patch)
treeea6824ba5019e0eb01ebdcd29e34e300aff0e3ab /drivers/memory
parent000ade8016400d93b4d7c89970d96b8c14773d45 (diff)
downloadlinux-eb55bbf865d9979098c6a7a17cbdb41237ece951.tar.xz
bonding: re-evaluate force_primary when the primary slave name changes
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>
Diffstat (limited to 'drivers/memory')
0 files changed, 0 insertions, 0 deletions