diff options
author | 2024-10-31 16:52:49 +0100 | |
---|---|---|
committer | 2024-11-06 12:42:42 +0100 | |
commit | 3021a2a3403df0fe0b79af15071e5f6ee25461a4 (patch) | |
tree | dc60f0d6f212c7db6f44cfa657d9bae66742e787 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | xfrm: Convert xfrm_bundle_create() to dscp_t. (diff) | |
download | wireguard-linux-3021a2a3403df0fe0b79af15071e5f6ee25461a4.tar.xz wireguard-linux-3021a2a3403df0fe0b79af15071e5f6ee25461a4.zip |
xfrm: Convert xfrm_dst_lookup() to dscp_t.
Pass a dscp_t variable to xfrm_dst_lookup(), instead of an int, to
prevent accidental setting of ECN bits in ->flowi4_tos.
Only xfrm_bundle_create() actually calls xfrm_dst_lookup(). Since it
already has a dscp_t variable to pass as parameter, we only need to
remove the inet_dscp_to_dsfield() conversion.
Signed-off-by: Guillaume Nault <gnault@redhat.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions