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)
commiteb857186eb771998fc9ab4bfd398a6fedb5a295c
treee3cde1845c4672b8123b34b631133f28194873a7
parent0ec88662041e172acf33d7a15a2020841ee82afb
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