ipv4: Make icmp route lookup code a bit clearer.
authorDavid S. Miller <davem@davemloft.net>
Tue, 1 Mar 2011 23:49:55 +0000 (15:49 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Mar 2011 23:49:55 +0000 (15:49 -0800)
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: David S. Miller <davem@davemloft.net>

No differences found