mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
ipv4: mask tos for input route
am: 36931eb015
Change-Id: Ib906004640e0fb5e597266ef0a3b584e300c2e5d
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user