diff options
author | Mazhar Rana <[email protected]> | 2015-07-07 15:04:50 +0530 |
---|---|---|
committer | David S. Miller <[email protected]> | 2015-07-08 16:06:08 -0700 |
commit | b5a983f3141239b5b0b4a4e66efa31f8a26354b8 (patch) | |
tree | 4a1cfe9504658e6ddc6ca5818b8bccf1b33911f9 /lib/memory-notifier-error-inject.c | |
parent | fc24f2b2094366da8786f59f2606307e934cea17 (diff) |
bonding: "primary_reselect" with "failure" is not working properly
When "primary_reselect" is set to "failure", primary interface should
not become active until current active slave is down. But if we set first
member of bond device as a "primary" interface and "primary_reselect"
is set to "failure" then whenever primary interface's link get back(up)
it become active slave even if current active slave is still up.
With this patch, "bond_find_best_slave" will not traverse members if
primary interface is not candidate for failover/reselection and current
active slave is still up.
Signed-off-by: Mazhar Rana <[email protected]>
Signed-off-by: Jay Vosburgh <[email protected]>
Signed-off-by: Jay Vosburgh <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions