diff options
-rw-r--r-- | net/ipv4/route.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c index 584ed667bfa4..8471dd116771 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c | |||
@@ -2009,6 +2009,7 @@ int ip_route_input_noref(struct sk_buff *skb, __be32 daddr, __be32 saddr, | |||
2009 | { | 2009 | { |
2010 | int res; | 2010 | int res; |
2011 | 2011 | ||
2012 | tos &= IPTOS_RT_MASK; | ||
2012 | rcu_read_lock(); | 2013 | rcu_read_lock(); |
2013 | 2014 | ||
2014 | /* Multicast recognition logic is moved from route cache to here. | 2015 | /* Multicast recognition logic is moved from route cache to here. |