1
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 [NET] ATM: Fix whitespace errors. 2007-02-10 23:19:16 -08:00
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 [NET] ATM: Fix whitespace errors. 2007-02-10 23:19:16 -08:00
common.h [NET] ATM: Fix whitespace errors. 2007-02-10 23:19:16 -08:00
ioctl.c [NET] ATM: Fix whitespace errors. 2007-02-10 23:19:16 -08:00
Kconfig
lec_arpc.h
lec.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
lec.h [NET] ATM: Fix whitespace errors. 2007-02-10 23:19:16 -08:00
Makefile
mpc.c [NET] ATM: Fix whitespace errors. 2007-02-10 23:19:16 -08:00
mpc.h [NET] ATM: Fix whitespace errors. 2007-02-10 23:19:16 -08:00
mpoa_caches.c [NET] ATM: Fix whitespace errors. 2007-02-10 23:19:16 -08:00
mpoa_caches.h [NET] ATM: Fix whitespace errors. 2007-02-10 23:19:16 -08:00
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 [NET] ATM: Fix whitespace errors. 2007-02-10 23:19:16 -08:00
raw.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
resources.c [NET] ATM: Fix whitespace errors. 2007-02-10 23:19:16 -08:00
resources.h
signaling.c
signaling.h [NET] ATM: Fix whitespace errors. 2007-02-10 23:19:16 -08:00
svc.c [NET] ATM: Fix whitespace errors. 2007-02-10 23:19:16 -08:00