summaryrefslogtreecommitdiff
path: root/net/irda
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2016-08-17 17:39:33 +0300
committerDavid S. Miller <davem@davemloft.net>2016-08-18 02:18:27 +0300
commita94a614fa2bd32848a67f8261228e193beb826ca (patch)
tree4367bf7306d77db2956ff97e0e25fbba1dbba8cc /net/irda
parentc20b80187a93b4fcc1c5c46fc8a436df1f17636d (diff)
downloadlinux-a94a614fa2bd32848a67f8261228e193beb826ca.tar.xz
mlxsw: spectrum: Trap loop-backed packets
One of the conditions to generate an ICMP Redirect Message is that "the packet is being forwarded out the same physical interface that it was received from" (RFC 1812). Therefore, we need to be able to trap such packets and let the kernel decide what to do with them. For each RIF, enable the loop-back filter, which will raise the LBERROR trap whenever the ingress RIF equals the egress RIF. Fixes: 99724c18fc66 ("mlxsw: spectrum: Introduce support for router interfaces") Reported-by: Ilan Tayari <ilant@mellanox.com> 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>
Diffstat (limited to 'net/irda')
0 files changed, 0 insertions, 0 deletions