diff options
author | Guillaume Nault <gnault@redhat.com> | 2024-10-31 16:52:49 +0100 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2024-11-06 12:42:42 +0100 |
commit | 3021a2a3403df0fe0b79af15071e5f6ee25461a4 (patch) | |
tree | dc60f0d6f212c7db6f44cfa657d9bae66742e787 /ipc | |
parent | 01f61cbfc8b2cf89fe960ea3c1c67bba089dbdc5 (diff) | |
download | linux-stable-3021a2a3403df0fe0b79af15071e5f6ee25461a4.tar.gz linux-stable-3021a2a3403df0fe0b79af15071e5f6ee25461a4.tar.bz2 linux-stable-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 'ipc')
0 files changed, 0 insertions, 0 deletions