From: nikolay@redhat.com Date: Tue, 6 Aug 2013 10:40:16 +0000 (+0200) Subject: bonding: unwind on bond_add_vlan failure X-Git-Tag: v3.12-rc1~132^2~323 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b20903f2a9ee5bd9ca80ad72867c8d137aaf4d62;p=pandora-kernel.git bonding: unwind on bond_add_vlan failure In case of bond_add_vlan() failure currently we'll have the vlan's refcnt bumped up in all slaves, but it will never go down because it failed to get added to the bond, so properly unwind the added vlan if bond_add_vlan fails. Signed-off-by: Nikolay Aleksandrov Acked-by: Veaceslav Falico Signed-off-by: David S. Miller --- Reading git-diff-tree failed