]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_router: Flood unregistered multicast packets to router
authorIdo Schimmel <idosch@mellanox.com>
Tue, 18 Jul 2017 08:10:12 +0000 (10:10 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Jul 2017 18:57:32 +0000 (11:57 -0700)
commit9c44cc3006f910356f859682f7049458842f796a
treeea0296cc7d6242481e4eafae5609d91e8c486b6b
parentcc94d4be69352376b45bfc61ba328d8833252ddd
mlxsw: spectrum_router: Flood unregistered multicast packets to router

Up until now we only flooded broadcast packets to the router when an L3
interface was configured on top of a bridge. However, IPv6 Neighbour
Discovery packets are trapped to the CPU inside the router and these can
be sent with a multicast address.

Flood unregistered multicast packets to the router port, so that
relevant packets could be trapped there.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c