android_kernel_xiaomi_sm8350/drivers/infiniband/core
Sean Hefty 82a9c16a10 IB/cm: Send DREP in response to unmatched DREQ
Currently a DREP is only sent in response to a DREQ if a connection
has been found matching the DREQ, and it is in the proper state.  Once
a DREP is sent, the local connection moves into timewait.  Duplicate
DREQs received while in this state result in re-sending the DREP.

However, it's likely that the local connection will enter and exit
timewait before the remote side times out a lost DREP and resends a DREQ.
To handle this, we send a DREP in response to a DREQ, even if a local
connection is not found.  This avoids maintaining disconnected
id's in timewait states for excessively long times, just to handle a
lost DREP.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2006-10-10 12:50:38 -07:00
..
addr.c [IPV4]: annotate inetdev.h helpers 2006-09-28 18:01:05 -07:00
agent.c
agent.h
cache.c RDMA: iWARP Core Changes. 2006-09-22 15:22:47 -07:00
cm_msgs.h
cm.c IB/cm: Send DREP in response to unmatched DREQ 2006-10-10 12:50:38 -07:00
cma.c RDMA/cma: Optimize error handling 2006-10-02 14:52:16 -07:00
core_priv.h
device.c IB: Fix typo in kerneldoc for ib_set_client_data() 2006-09-22 15:22:58 -07:00
fmr_pool.c [PATCH] fmr pool: remove unnecessary pointer dereference 2006-07-14 21:53:51 -07:00
iwcm.c RDMA: iWARP Connection Manager. 2006-09-22 15:22:46 -07:00
iwcm.h RDMA: iWARP Connection Manager. 2006-09-22 15:22:46 -07:00
mad_priv.h [PATCH] missing includes from infiniband merge 2006-09-23 11:34:43 -07:00
mad_rmpp.c IB: Whitespace fixes 2006-09-22 15:22:46 -07:00
mad_rmpp.h
mad.c [PATCH] Really ignore kmem_cache_destroy return value 2006-09-27 08:26:10 -07:00
Makefile RDMA: iWARP Core Changes. 2006-09-22 15:22:47 -07:00
packer.c
sa_query.c IB/sa: Require SA registration 2006-09-22 15:22:53 -07:00
smi.c RDMA: iWARP Core Changes. 2006-09-22 15:22:47 -07:00
smi.h
sysfs.c RDMA: iWARP Core Changes. 2006-09-22 15:22:47 -07:00
ucm.c RDMA: iWARP Core Changes. 2006-09-22 15:22:47 -07:00
ud_header.c
user_mad.c RDMA: iWARP Core Changes. 2006-09-22 15:22:47 -07:00
uverbs_cmd.c IB: Whitespace fixes 2006-09-22 15:22:46 -07:00
uverbs_main.c IB/uverbs: Avoid a crash on device hot remove 2006-08-03 10:56:42 -07:00
uverbs_marshall.c
uverbs_mem.c
uverbs.h IB/uverbs: Avoid a crash on device hot remove 2006-08-03 10:56:42 -07:00
verbs.c RDMA: iWARP Core Changes. 2006-09-22 15:22:47 -07:00