diff --git a/net/ipv4/route.c b/net/ipv4/route.c index 9b6528b7b562..73bb61162445 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c @@ -2470,7 +2470,7 @@ int ip_route_input_noref(struct sk_buff *skb, __be32 daddr, __be32 saddr, struct fib_result res; int err; - tos &= IPTOS_RT_MASK; + tos &= INET_DSCP_MASK; rcu_read_lock(); err = ip_route_input_rcu(skb, daddr, saddr, tos, dev, &res); rcu_read_unlock();