mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 02:21:52 +09:00
Revert "ipv4: ip_tunnel: Unmask upper DSCP bits in ip_tunnel_bind_dev()"
This reverts commit 5fb41d9ba9 which is
commit e7191e517a03d025405c7df730b400ad4118474e upstream.
It breaks the Android kernel abi and can be brought back in the future
in an abi-safe way if it is really needed.
Bug: 161946584
Change-Id: I2eb3e1b378561ab75ccb03904452e37e2385bfa2
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
@@ -293,7 +293,7 @@ static int ip_tunnel_bind_dev(struct net_device *dev)
|
||||
|
||||
ip_tunnel_init_flow(&fl4, iph->protocol, iph->daddr,
|
||||
iph->saddr, tunnel->parms.o_key,
|
||||
iph->tos & INET_DSCP_MASK, dev_net(dev),
|
||||
RT_TOS(iph->tos), dev_net(dev),
|
||||
tunnel->parms.link, tunnel->fwmark, 0, 0);
|
||||
rt = ip_route_output_key(tunnel->net, &fl4);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user