From 1ff412ad7714f6952f76ffd77f0a7f2f563288a1 Mon Sep 17 00:00:00 2001 From: "nikolay@redhat.com" Date: Tue, 6 Aug 2013 12:40:15 +0200 Subject: [PATCH] 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 Acked-by: Veaceslav Falico Signed-off-by: David S. Miller --- Reading git-format-patch failed