diff options
author | Erez Shitrit | 2016-06-04 15:15:19 +0300 |
---|---|---|
committer | Doug Ledford | 2016-06-07 10:49:48 -0400 |
commit | 61c78eea9516a921799c17b4c20558e2aa780fd3 (patch) | |
tree | d690bdcbafdce9aefa4defd18aa86ee245073440 /fs/efivarfs | |
parent | f879ee8d900fc78b5bc5d840edd9ecb57d02ab7e (diff) |
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: b63b70d87741 ("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>
Diffstat (limited to 'fs/efivarfs')
0 files changed, 0 insertions, 0 deletions