]> 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)
commit32d4f11487dfab8de20bbdf86de696ebe29a5290
treeea0296cc7d6242481e4eafae5609d91e8c486b6b
parent9aba33c9d61f1c381fbc310df42fb28af75943e3
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