linux/net/atm
Alexey Kuznetsov ecbb416939 [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>
2007-03-25 18:48:01 -07:00
..
addr.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
addr.h
atm_misc.c
atm_sysfs.c
br2684.c [PATCH] mark struct file_operations const 7 2007-02-12 09:48:46 -08:00
clip.c [NET]: Fix neighbour destructor handling. 2007-03-25 18:48:01 -07:00
common.c
common.h
ioctl.c
Kconfig
lec_arpc.h
lec.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
lec.h
Makefile
mpc.c
mpc.h
mpoa_caches.c
mpoa_caches.h
mpoa_proc.c [PATCH] mark struct file_operations const 7 2007-02-12 09:48:46 -08:00
pppoatm.c
proc.c [PATCH] mark struct file_operations const 7 2007-02-12 09:48:46 -08:00
protocols.h
pvc.c
raw.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
resources.c
resources.h
signaling.c
signaling.h
svc.c