]> git.openfabrics.org - ~shefty/rdma-win.git/commit
[WINVERBS} winverbs/ep: handle receiving REQ then DREQ.
authorStan Smith <stan.smith@intel.com>
Fri, 22 Jan 2010 23:08:40 +0000 (23:08 +0000)
committerStan Smith <stan.smith@intel.com>
Fri, 22 Jan 2010 23:08:40 +0000 (23:08 +0000)
commit7d891c60b87295d9ab39ed08a8c68f47a3adebb1
tree4e5cb25f70dcf5b5bd2b4c5c00d3d6ce32a68a55
parent4d302ec9898a42288a045ebf9f98d1710eccc496
[WINVERBS} winverbs/ep: handle receiving REQ then DREQ.
For fast connections, it's possible to receive a DREQ immediately
after receiving a REQ, without an RTU coming in between.  If we've
sent a REP to the REQ, then the DREQ should be treated as if the
connection had been fully established.  (The RTU could be delayed,
and the communication established event is processed asynchronously,
so there's no way to tell for certain.)

This fixes an issue where the passive side Accept() call fails
waiting for the RTU, but receives a DREQ instead.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2679 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
branches/WOF2-2/core/winverbs/kernel/wv_ep.c