commit | b8e2fde466f7902fed4ad10bb60c1377b27cbfb7 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | Fri Aug 23 10:45:07 2013 +0800 |
committer | David S. Miller <davem@davemloft.net> | Sun Aug 25 18:37:35 2013 -0400 |
tree | 97d05f5eb5b1ade53f561240a5860b52c929ea57 | |
parent | 2ea567cb0f3e92f303377edf65c1d6ea4b8407a1 [diff] |
bonding: fix error return code in bond_enslave() Fix to return a negative error code in the add bond vlan ids error handling case instead of 0, as done elsewhere in this function. Introduced by commit 1ff412ad7714f6952f76ffd77f0a7f2f563288a1. (bonding: change the bond's vlan syncing functions with the standard ones) Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Acked-by: Nikolay Aleksandrov <nikolay@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>