Files
linux/net/ipv4
Guillaume Nault f7716b3185 gre: Don't accidentally set RTO_ONLINK in gre_fill_metadata_dst()
Mask the ECN bits before initialising ->flowi4_tos. The tunnel key may
have the last ECN bit set, which will interfere with the route lookup
process as ip_route_output_key_hash() interpretes this bit specially
(to restrict the route scope).

Found by code inspection, compile tested only.

Fixes: 962924fa2b ("ip_gre: Refactor collect metatdata mode tunnel xmit to ip_md_tunnel_xmit")
Signed-off-by: Guillaume Nault <gnault@redhat.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-01-11 20:36:08 -08:00
..
2021-11-22 14:34:07 +00:00
2021-06-07 14:08:30 -07:00
2021-05-17 15:29:35 -07:00
2021-11-14 12:20:44 +00:00
2021-11-14 12:20:44 +00:00
2021-10-13 09:41:37 -07:00
2021-10-13 09:41:37 -07:00
2021-10-13 09:41:37 -07:00
2021-05-17 15:29:35 -07:00
2022-01-04 12:40:22 +00:00
2021-11-16 19:07:54 -08:00
2021-03-28 17:31:13 -07:00
2021-05-17 15:29:35 -07:00
2021-05-17 15:29:35 -07:00