ipv4: mask tos for input route

am: 36931eb015

Change-Id: Ib906004640e0fb5e597266ef0a3b584e300c2e5d
This commit is contained in:
Julian Anastasov
2017-03-22 11:56:29 +00:00
committed by android-build-merger

View File

@@ -1973,6 +1973,7 @@ int ip_route_input_noref(struct sk_buff *skb, __be32 daddr, __be32 saddr,
{
int res;
tos &= IPTOS_RT_MASK;
rcu_read_lock();
/* Multicast recognition logic is moved from route cache to here.