diff options
author | 2022-01-10 14:43:09 +0100 | |
---|---|---|
committer | 2022-01-11 20:36:08 -0800 | |
commit | f7716b318568b22fbf0e3be99279a979e217cf71 (patch) | |
tree | 0b96d0fa492edf379cb8eb633d95b36bc1bd7a63 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | xfrm: Don't accidentally set RTO_ONLINK in decode_session4() (diff) | |
download | linux-dev-f7716b318568b22fbf0e3be99279a979e217cf71.tar.xz linux-dev-f7716b318568b22fbf0e3be99279a979e217cf71.zip |
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: 962924fa2b7a ("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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions