]> git.baikalelectronics.ru Git - kernel.git/commit
team: team should sync the port's uc/mc addrs when add a port
authorXin Long <lucien.xin@gmail.com>
Wed, 30 Mar 2016 02:58:39 +0000 (10:58 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Mar 2016 21:06:58 +0000 (17:06 -0400)
commit08d197e2489f2f59b112ca587554a7f48a8f2a02
tree149f2daa21a3fa81d7eca343292c5adde2c367aa
parentb01e0640804b82fc0c2d6ce16456d55903730510
team: team should sync the port's uc/mc addrs when add a port

There is an issue when we use mavtap over team:
When we replug nic links from team0, the real nics's mc list will not
include the maddr for macvtap any more. then we can't receive pkts to
macvtap device, as they are filterred by mc list of nic.

In Bonding Driver, it syncs the uc/mc addrs in bond_enslave().

We will fix this issue on team by adding the port's uc/mc addrs sync in
team_port_add.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/team/team.c