mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
team: unsyc the devices addresses when port is removed
When a team port is removed, unsync all devices addresses that may have been synched to the port devices. CC: Jiri Pirko <[email protected]> Signed-off-by: Vlad Yasevich <[email protected]> Acked-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
fbca58a224
commit
ba81276b1a
1 changed files with 2 additions and 0 deletions
|
|
@ -1138,6 +1138,8 @@ static int team_port_del(struct team *team, struct net_device *port_dev)
|
|||
netdev_upper_dev_unlink(port_dev, dev);
|
||||
team_port_disable_netpoll(port);
|
||||
vlan_vids_del_by_dev(port_dev, dev);
|
||||
dev_uc_unsync(port_dev, dev);
|
||||
dev_mc_unsync(port_dev, dev);
|
||||
dev_close(port_dev);
|
||||
team_port_leave(team, port);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue