]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: ndisc: Convert to dst_neigh_lookup()
authorDavid S. Miller <davem@davemloft.net>
Fri, 27 Jan 2012 23:07:56 +0000 (15:07 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 28 Jan 2012 02:00:08 +0000 (21:00 -0500)
commit17fb64d18b094a57aaac54aa5fdd6a423cb8b2c1
treee3cde1845c4672b8123b34b631133f28194873a7
parent924a9662ffe05bf9a31d3f48c4640d63533dcd38
ipv6: ndisc: Convert to dst_neigh_lookup()

Now all code paths grab a local reference to the neigh, so if neigh
is not NULL we unconditionally release it at the end.  The old logic
would only release if we didn't have a non-NULL 'rt'.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ndisc.c