linux-sg2042/drivers/infiniband
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
..
core IB/core: Initialize sysfs attributes before sysfs create group 2016-06-07 09:50:54 -04:00
hw IB/mlx5: Fix alternate path code 2016-06-07 10:03:50 -04:00
sw IB/rdmavt: Annotate rvt_reset_qp() 2016-06-06 19:36:21 -04:00
ulp IB/IPoIB: Don't update neigh validity for unresolved entries 2016-06-07 10:49:48 -04:00
Kconfig IB/hfi1: Move driver out of staging 2016-05-26 11:35:14 -04:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00