]> 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)
commit310b45274c7ccf6da831c25b06cada3e7092e4f6
tree149f2daa21a3fa81d7eca343292c5adde2c367aa
parentf400bd643169435a62536f68be87d674e55096bb
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