mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 13:03:25 +01:00
ipv6: sit: Unmask upper DSCP bits in ipip6_tunnel_bind_dev()
Unmask the upper DSCP bits when calling ip_route_output_ports() so that in the future it could perform the FIB lookup according to the full DSCP value. Signed-off-by: Ido Schimmel <idosch@nvidia.com> Reviewed-by: Guillaume Nault <gnault@redhat.com> Reviewed-by: David Ahern <dsahern@kernel.org> Link: https://patch.msgid.link/20240903135327.2810535-5-idosch@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
de1fb3e8b0
commit
c9a1e2629d
1 changed files with 1 additions and 1 deletions
|
@ -1112,7 +1112,7 @@ static void ipip6_tunnel_bind_dev(struct net_device *dev)
|
|||
iph->daddr, iph->saddr,
|
||||
0, 0,
|
||||
IPPROTO_IPV6,
|
||||
RT_TOS(iph->tos),
|
||||
iph->tos & INET_DSCP_MASK,
|
||||
tunnel->parms.link);
|
||||
|
||||
if (!IS_ERR(rt)) {
|
||||
|
|
Loading…
Reference in a new issue