Commit 5fb41d9b authored by Ido Schimmel's avatar Ido Schimmel Committed by Greg Kroah-Hartman
Browse files

ipv4: ip_tunnel: Unmask upper DSCP bits in ip_tunnel_bind_dev()



[ Upstream commit e7191e51 ]

Unmask the upper DSCP bits when initializing an IPv4 flow key via
ip_tunnel_init_flow() before passing it to ip_route_output_key() so that
in the future we could perform the FIB lookup according to the full DSCP
value.

Signed-off-by: default avatarIdo Schimmel <idosch@nvidia.com>
Reviewed-by: default avatarGuillaume Nault <gnault@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Stable-dep-of: b5a7b661 ("net: Fix netns for ip_tunnel_init_flow()")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent c3c53b16
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment