aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorOr Gerlitz <[email protected]>2008-06-13 18:12:01 -0700
committerJeff Garzik <[email protected]>2008-06-17 23:59:41 -0400
commit709f8a45e8521f2f4229e5fdf3ded1fb77e2ca4e (patch)
tree6fcc38034efaa4292b90e0f4b1bc50642d54864f /tools/perf/scripts/python
parentc1da4ac752b8b0411791d26c678fcf23d2eed242 (diff)
bonding: bond_change_active_slave() cleanup under active-backup
simplified the code of bond_change_active_slave() such that under active-backup mode there's one "if (new_active)" test and the rest of the code only does extra checks on top of it. This removed an unneeded "if (bond->send_grat_arp > 0)" check and avoid calling bond_send_gratuitous_arp when there's no active slave. Jay Vosburgh made minor coding style changes to the orignal patch. Signed-off-by: Or Gerlitz <[email protected]> Signed-off-by: Jay Vosburgh <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions