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)
commitf6d460cf0ed16d35aec48f823685e7a0e0283d84
tree56c311e236e3856220660afe7eaadf76106e58c6
parent2774c131b1d19920b4587db1cfbd6f0750ad1f15
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: David S. Miller <davem@davemloft.net>
net/ipv4/icmp.c
This page took 0.025366 seconds and 5 git commands to generate.