]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum: Share one group for all locally delivered packets
authorIdo Schimmel <idosch@mellanox.com>
Mon, 25 May 2020 23:05:53 +0000 (02:05 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 May 2020 03:33:58 +0000 (20:33 -0700)
commitf4d3a999034f9e66e32de9e39d2153d56aa153a3
treef314311bbec625d4ce5d88e00f695873d54d5676
parent0f69648fc5fb26f24cdd572609af3e6bfee3dbe0
mlxsw: spectrum: Share one group for all locally delivered packets

Routed IP packets with the Router Alert option need to be trapped to
the CPU as they might need to be locally delivered to raw sockets with
the IP_ROUTER_ALERT / IPV6_ROUTER_ALERT socket option.

Move them to the same group with other packets that might need to be
trapped following route lookup.

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