Ido Schimmel f839a6c925 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>
2018-12-04 08:36:36 -08:00
..
2018-07-24 14:10:42 -07:00
2018-08-29 08:02:43 +02:00
2018-05-11 00:10:56 +02:00
2018-07-24 14:10:43 -07:00
2018-05-16 07:24:30 +02:00
2018-06-22 13:43:27 +09:00
2018-11-16 23:01:56 -08:00