commit | f6d460cf0ed16d35aec48f823685e7a0e0283d84 | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Tue Mar 01 15:49:55 2011 -0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Mar 01 15:49:55 2011 -0800 |
tree | 56c311e236e3856220660afe7eaadf76106e58c6 | |
parent | 2774c131b1d19920b4587db1cfbd6f0750ad1f15 [diff] |
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>