android_kernel_xiaomi_sm8350/drivers/infiniband/ulp/ipoib
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
..
ipoib_cm.c IB/ipoib: Fix thinko in packet length checks 2007-03-22 14:40:16 -07:00
ipoib_fs.c [PATCH] mark struct file_operations const 3 2007-02-12 09:48:45 -08:00
ipoib_ib.c IB/ipoib: Fix thinko in packet length checks 2007-03-22 14:40:16 -07:00
ipoib_main.c [NET]: Fix neighbour destructor handling. 2007-03-25 18:48:01 -07:00
ipoib_multicast.c IPoIB: Fix race in detaching from mcast group before attaching 2007-03-22 14:32:09 -07:00
ipoib_verbs.c IPoIB: Only handle async events for one port 2007-02-27 07:37:49 -08:00
ipoib_vlan.c
ipoib.h IPoIB: Remove unused local_rate tracking 2007-02-21 20:28:05 -08:00
Kconfig
Makefile