]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ipv4: udp_tunnel: Unmask upper DSCP bits in udp_tunnel_dst_lookup()
authorIdo Schimmel <idosch@nvidia.com>
Thu, 5 Sep 2024 16:51:39 +0000 (19:51 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Sep 2024 13:14:53 +0000 (14:14 +0100)
commit2c60fc9ca21636e4bbb30357562dc1abb577f5fb
treefc15d70f258ca65a55c802759664cd563a266837
parent345663e6a727f6baa70989a8412c2c047389ca65
ipv4: udp_tunnel: Unmask upper DSCP bits in udp_tunnel_dst_lookup()

Unmask the upper DSCP bits when calling ip_route_output_key() so that in
the future it could perform the FIB lookup according to the full DSCP
value.

Note that callers of udp_tunnel_dst_lookup() pass the entire DS field in
the 'tos' argument.

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Guillaume Nault <gnault@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/udp_tunnel_core.c