aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorMazhar Rana <mazhar.rana@cyberoam.com>2015-07-07 15:04:50 +0530
committerDavid S. Miller <davem@davemloft.net>2015-07-08 16:06:08 -0700
commitb5a983f3141239b5b0b4a4e66efa31f8a26354b8 (patch)
tree4a1cfe9504658e6ddc6ca5818b8bccf1b33911f9 /tools/perf/util/scripting-engines/trace-event-perl.c
parentfc24f2b2094366da8786f59f2606307e934cea17 (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 <mazhar.rana@cyberoam.com> Signed-off-by: Jay Vosburgh <j.vosburgh@gmail.com> Signed-off-by: Jay Vosburgh <jay.vosburgh@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions