From: Wei Yongjun Date: Fri, 23 Aug 2013 02:45:07 +0000 (+0800) Subject: bonding: fix error return code in bond_enslave() X-Git-Tag: v3.12-rc1~132^2~189 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8e2fde466f7902fed4ad10bb60c1377b27cbfb7;p=pandora-kernel.git 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 Acked-by: Nikolay Aleksandrov Signed-off-by: David S. Miller --- Reading git-diff-tree failed