bonding: use vlan_uses_dev() in __bond_release_one()
authorVeaceslav Falico <vfalico@redhat.com>
Wed, 28 Aug 2013 21:25:12 +0000 (23:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Aug 2013 20:19:43 +0000 (16:19 -0400)
commita59d3d21ea7636d4cc7fb921104b9b4a59196839
tree80e7a1ace6d5b75fcbba6cc22a19f23eca5ecf6f
parent50223ce4be70367ca5d8135bfd4c976e148bc491
bonding: use vlan_uses_dev() in __bond_release_one()

We always hold the rtnl_lock() in __bond_release_one(), so use
vlan_uses_dev() instead of bond_vlan_used().

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>
drivers/net/bonding/bond_main.c