linux/drivers/net/bonding
Veaceslav Falico c752af2c55 bonding: use netdev_upper list in bond_vlan_used
Convert bond_vlan_used() to traverse the upper device list to see if we
have any vlans above us. It's protected by rcu, and in case we are holding
rtnl_lock we should call vlan_uses_dev() instead - it's faster.

CC: Jay Vosburgh <fubar@us.ibm.com>
CC: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: Veaceslav Falico <vfalico@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-08-29 16:19:42 -04:00
..
bond_3ad.c bonding: initial RCU conversion 2013-08-01 16:42:02 -07:00
bond_3ad.h bonding: fix multiple 3ad mode sysfs race conditions 2013-05-19 23:25:49 -07:00
bond_alb.c bonding: initial RCU conversion 2013-08-01 16:42:02 -07:00
bond_alb.h bonding: delete migrated IP addresses from the rlb hash table 2012-11-30 12:07:27 -05: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: fix error return code in bond_enslave() 2013-08-25 18:37:35 -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: initial RCU conversion 2013-08-01 16:42:02 -07:00
bonding.h bonding: use netdev_upper list in bond_vlan_used 2013-08-29 16:19:42 -04:00
Makefile bonding, ipv4, ipv6, vlan: Handle NETDEV_BONDING_FAILOVER like NETDEV_NOTIFY_PEERS 2011-04-17 23:36:03 -07:00