aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
author[email protected] <[email protected]>2013-08-06 12:40:15 +0200
committerDavid S. Miller <[email protected]>2013-08-08 22:31:21 -0700
commit1ff412ad7714f6952f76ffd77f0a7f2f563288a1 (patch)
tree01ce83a0d0cf057a0683fde6a645f1f2727b1f60 /tools/perf/scripts/python
parent1f07d03e2069df2ecd82301936b598a3b257c6d6 (diff)
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 <[email protected]> Acked-by: Veaceslav Falico <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions