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

ipv4: Make icmp route lookup code a bit clearer.



The route lookup code in icmp_send() is slightly tricky as a result of
having to handle all of the requirements of RFC 4301 host relookups.

Pull the route resolution into a seperate function, so that the error
handling and route reference counting is hopefully easier to see and
contained wholly within this new routine.

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