Skip to content
Commit 9f6abb5f authored by David S. Miller's avatar David S. Miller
Browse files

ipv4: icmp: Eliminate remaining uses of rt->rt_src



On input packets, rt->rt_src always equals ip_hdr(skb)->saddr

Anything that mangles or otherwise changes the IP header must
relookup the route found at skb_rtable().  Therefore this
invariant must always hold true.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0a5ebb80
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment