mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
ipv4: mask tos for input route
am: 354f79125f
Change-Id: I39b7ce23fe7319187421d3e6f0cdd91b16d1fb8c
This commit is contained in:
@@ -1963,6 +1963,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