aboutsummaryrefslogtreecommitdiff
path: root/net/ax25/Kconfig
diff options
context:
space:
mode:
authorGravatar Alexey Kuznetsov <kuznet@ms2.inr.ac.ru> 2007-03-24 12:52:16 -0700
committerGravatar David S. Miller <davem@sunset.davemloft.net> 2007-03-25 18:48:01 -0700
commitecbb416939da77c0d107409976499724baddce7b (patch)
tree313f786f9f4d5fec3f016c292dea1705924fa9b6 /net/ax25/Kconfig
parent[NET]: Fix fib_rules compatibility breakage (diff)
downloadlinux-ecbb416939da77c0d107409976499724baddce7b.tar.gz
linux-ecbb416939da77c0d107409976499724baddce7b.tar.bz2
linux-ecbb416939da77c0d107409976499724baddce7b.zip
[NET]: Fix neighbour destructor handling.
->neigh_destructor() is killed (not used), replaced with ->neigh_cleanup(), which is called when neighbor entry goes to dead state. At this point everything is still valid: neigh->dev, neigh->parms etc. The device should guarantee that dead neighbor entries (neigh->dead != 0) do not get private part initialized, otherwise nobody will cleanup it. I think this is enough for ipoib which is the only user of this thing. Initialization private part of neighbor entries happens in ipib start_xmit routine, which is not reached when device is down. But it would be better to add explicit test for neigh->dead in any case. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ax25/Kconfig')
0 files changed, 0 insertions, 0 deletions