diff options
author | nikolay@redhat.com <nikolay@redhat.com> | 2013-08-06 12:40:16 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-08-08 22:31:21 -0700 |
commit | b20903f2a9ee5bd9ca80ad72867c8d137aaf4d62 (patch) | |
tree | 447006c4670fbdad8c92e8b2976fd3dd00eca902 /include/net/sctp/structs.h | |
parent | 1ff412ad7714f6952f76ffd77f0a7f2f563288a1 (diff) | |
download | kernel_replicant_linux-b20903f2a9ee5bd9ca80ad72867c8d137aaf4d62.tar.gz kernel_replicant_linux-b20903f2a9ee5bd9ca80ad72867c8d137aaf4d62.tar.bz2 kernel_replicant_linux-b20903f2a9ee5bd9ca80ad72867c8d137aaf4d62.zip |
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 <nikolay@redhat.com>
Acked-by: Veaceslav Falico <vfalico@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sctp/structs.h')
0 files changed, 0 insertions, 0 deletions