linux/drivers/infiniband/ulp/ipoib
Erez Shitrit 61c78eea95 IB/IPoIB: Don't update neigh validity for unresolved entries
ipoib_neigh_get unconditionally updates the "alive" variable member on
any packet send.  This prevents the neighbor garbage collection from
cleaning out a dead neighbor entry if we are still queueing packets
for it.  If the queue for this neighbor is full, then don't update the
alive timestamp.  That way the neighbor can time out even if packets
are still being queued as long as none of them are being sent.

Fixes: b63b70d877 ("IPoIB: Use a private hash table for path lookup in xmit path")
Signed-off-by: Erez Shitrit <erezsh@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-06-07 10:49:48 -04:00
..
Kconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
Makefile IB/ipoib: Add rtnl_link_ops support 2012-09-20 16:49:17 -04:00
ipoib.h IB/IPoIB: Fix race between ipoib_remove_one to sysfs functions 2016-06-07 09:50:53 -04:00
ipoib_cm.c IB/IPoIB: Fix race between ipoib_remove_one to sysfs functions 2016-06-07 09:50:53 -04:00
ipoib_ethtool.c IB/ipoib: Add readout of statistics using ethtool 2016-05-13 19:39:43 -04:00
ipoib_fs.c IPoIB: Remove unnecessary test for NULL before debugfs_remove() 2014-08-12 21:59:54 -07:00
ipoib_ib.c IB/IPoIB: Disable bottom half when dealing with device address 2016-06-07 09:50:54 -04:00
ipoib_main.c IB/IPoIB: Don't update neigh validity for unresolved entries 2016-06-07 10:49:48 -04:00
ipoib_multicast.c IB/IPoIB: Disable bottom half when dealing with device address 2016-06-07 09:50:54 -04:00
ipoib_netlink.c infiniband: make sure the src net is infiniband when create new link 2014-01-03 20:38:56 -05:00
ipoib_verbs.c IB/IPoIB: Allow setting the device address 2016-05-25 15:39:03 -04:00
ipoib_vlan.c IB/IPoIB: Fix race between ipoib_remove_one to sysfs functions 2016-06-07 09:50:53 -04:00