projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbca58a
)
team: unsyc the devices addresses when port is removed
author
Vlad Yasevich
<
[email protected]
>
Thu, 7 Mar 2013 07:59:25 +0000
(07:59 +0000)
committer
David S. Miller
<
[email protected]
>
Thu, 7 Mar 2013 21:35:57 +0000
(16:35 -0500)
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]
>
drivers/net/team/team.c
patch
|
blob
|
history
diff --git
a/drivers/net/team/team.c
b/drivers/net/team/team.c
index 05c5efe8459148be152db604da421fe35e95ba41..bf3419297875b102da599162c0852ecfd9eb71eb 100644
(file)
--- a/
drivers/net/team/team.c
+++ b/
drivers/net/team/team.c
@@
-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);