diff options
author | Xin Long <lucien.xin@gmail.com> | 2018-03-25 20:16:45 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-26 19:51:05 +0300 |
commit | 5c78f6bfae2b10ff70e21d343e64584ea6280c26 (patch) | |
tree | b972aa491f515ae85494a0b47e678141c6e84e09 /drivers/hsi/controllers | |
parent | eb82a994479245a79647d302f9b4eb8e7c9d7ca6 (diff) | |
download | linux-5c78f6bfae2b10ff70e21d343e64584ea6280c26.tar.xz |
bonding: fix the err path for dev hwaddr sync in bond_enslave
vlan_vids_add_by_dev is called right after dev hwaddr sync, so on
the err path it should unsync dev hwaddr. Otherwise, the slave
dev's hwaddr will never be unsync when this err happens.
Fixes: 1ff412ad7714 ("bonding: change the bond's vlan syncing functions with the standard ones")
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Reviewed-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Acked-by: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/hsi/controllers')
0 files changed, 0 insertions, 0 deletions