linux/drivers/net/bonding
nikolay@redhat.com c509316b5b bonding: simplify bond_3ad_update_lacp_rate and use RTNL for sync
We can drop the use of bond->lock for mutual exclusion in
bond_3ad_update_lacp_rate and use RTNL in the sysfs store function
instead. This way we'll prevent races with mode change and interface
up/down as well as simplify update_lacp_rate by removing the check for
port->slave because it'll always be initialized (done while enslaving
with RTNL). This change will also help in the future removal of reader
bond->lock from bond_enslave.

Signed-off-by: Nikolay Aleksandrov <nikolay@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-09-04 00:27:24 -04:00
..
bond_3ad.c bonding: simplify bond_3ad_update_lacp_rate and use RTNL for sync 2013-09-04 00:27:24 -04:00
bond_3ad.h bonding: fix multiple 3ad mode sysfs race conditions 2013-05-19 23:25:49 -07:00
bond_alb.c bonding: use rlb_client_info->vlan_id instead of ->tag 2013-09-03 22:02:32 -04:00
bond_alb.h bonding: use rlb_client_info->vlan_id instead of ->tag 2013-09-03 22:02:32 -04:00
bond_debugfs.c bonding: delete migrated IP addresses from the rlb hash table 2012-11-30 12:07:27 -05:00
bond_main.c bonding: trivial: remove outdated comment and braces 2013-09-04 00:27:24 -04:00
bond_procfs.c bonding: convert to list API and replace bond's custom list 2013-08-01 16:42:01 -07:00
bond_sysfs.c bonding: simplify bond_3ad_update_lacp_rate and use RTNL for sync 2013-09-04 00:27:24 -04:00
bonding.h bonding: remove bond_vlan_used() 2013-09-03 22:02:32 -04:00
Makefile bonding, ipv4, ipv6, vlan: Handle NETDEV_BONDING_FAILOVER like NETDEV_NOTIFY_PEERS 2011-04-17 23:36:03 -07:00