]> git.openfabrics.org - ~shefty/rdma-win.git/commit
ibal: send drep in response to unmatched dreq
authorSean Hefty <sean.hefty@intel.com>
Thu, 23 Sep 2010 19:25:29 +0000 (12:25 -0700)
committerSean Hefty <sean.hefty@intel.com>
Thu, 23 Sep 2010 19:25:29 +0000 (12:25 -0700)
commit72e533940aced7ffb2ceeebc5c5b7cdc09a08b7e
treed03a34e5e593ef8cb83cb0c43ec3bc6d468d5ee1
parent203f6240e2d31e82f784623a8b5a514fdf2f1f7c
ibal: send drep in response to unmatched dreq

If a DREQ is received that cannot be matched with an
existing CEP, issue a DREP in response.  It's possible
that the targetted CEP issued a DREP which was lost.
The CEP then transitioned through the timewait state
before another DREQ was received, and is no longer accessible.
To prevent the remote side from timing out waiting on a DREP,
send one so that it can complete its disconnection.

This fixes an issue in iMPI where one side of a connection
ends up waiting up to two minutes on disconnection.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
trunk/core/al/kernel/al_cm_cep.c
trunk/ulp/dapl2/dapl/ibal/dapl_ibal_cm.c