diff options
author | Or Gerlitz <ogerlitz@voltaire.com> | 2008-06-14 03:12:01 +0200 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-06-18 05:59:41 +0200 |
commit | 709f8a45e8521f2f4229e5fdf3ded1fb77e2ca4e (patch) | |
tree | 6fcc38034efaa4292b90e0f4b1bc50642d54864f /drivers/net/e2100.c | |
parent | net/core: add NETDEV_BONDING_FAILOVER event (diff) | |
download | linux-709f8a45e8521f2f4229e5fdf3ded1fb77e2ca4e.tar.xz linux-709f8a45e8521f2f4229e5fdf3ded1fb77e2ca4e.zip |
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 <ogerlitz@voltaire.com>
Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/e2100.c')
0 files changed, 0 insertions, 0 deletions