aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2018-12-04 08:15:11 +0000
committerDavid S. Miller <davem@davemloft.net>2018-12-04 08:36:36 -0800
commitf839a6c92504cff92a10f522cf686b51ff18dd35 (patch)
tree3e009acdcbadcf34c837d2018f52c9ab4374b3cc /tools
parentskbuff: Rename 'offload_mr_fwd_mark' to 'offload_l3_fwd_mark' (diff)
downloadlinux-dev-f839a6c92504cff92a10f522cf686b51ff18dd35.tar.xz
linux-dev-f839a6c92504cff92a10f522cf686b51ff18dd35.zip
net: Do not route unicast IP packets twice
Packets marked with 'offload_l3_fwd_mark' were already forwarded by a capable device and should not be forwarded again by the kernel. Therefore, have the kernel consume them. The check is performed in ip{,6}_forward_finish() in order to allow the kernel to process such packets in ip{,6}_forward() and generate required exceptions. For example, ICMP redirects. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions