From: Veaceslav Falico Date: Wed, 28 Aug 2013 21:25:09 +0000 (+0200) Subject: bonding: use netdev_upper list in bond_vlan_used X-Git-Tag: v3.12-rc1~132^2~151^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c752af2c555617017dbb3a66f81e974b66ad5e2d;p=pandora-kernel.git 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 CC: Andy Gospodarek Signed-off-by: Veaceslav Falico Signed-off-by: David S. Miller --- Reading git-diff-tree failed