• David S. Miller's avatar
    ipv6: Make icmp route lookup code a bit clearer. · b42835db
    David S. Miller authored
    The route lookup code in icmpv6_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>
    b42835db
icmp.c 21.8 KB