summaryrefslogtreecommitdiff
path: root/net/ipv4/devinet.c
diff options
context:
space:
mode:
authornikolay@redhat.com <nikolay@redhat.com>2013-08-06 14:40:15 +0400
committerDavid S. Miller <davem@davemloft.net>2013-08-09 09:31:21 +0400
commit1ff412ad7714f6952f76ffd77f0a7f2f563288a1 (patch)
tree01ce83a0d0cf057a0683fde6a645f1f2727b1f60 /net/ipv4/devinet.c
parent1f07d03e2069df2ecd82301936b598a3b257c6d6 (diff)
downloadlinux-1ff412ad7714f6952f76ffd77f0a7f2f563288a1.tar.xz
bonding: change the bond's vlan syncing functions with the standard ones
Now we have vlan_vids_add/del_by_dev() which serve the same purpose as bond's bond_add/del_vlans_on_slave() with the good side effect of reverting the changes if one of the additions fails. There's only 1 change in the behaviour of enslave: if adding of the vlans to the slave fails, we'll fail the enslaving because otherwise we might delete some vlan that wasn't added by the bonding. The only way this may happen is with ENOMEM currently, so we're in trouble anyway. Signed-off-by: Nikolay Aleksandrov <nikolay@redhat.com> Acked-by: Veaceslav Falico <vfalico@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/devinet.c')
0 files changed, 0 insertions, 0 deletions