]> git.openfabrics.org - ~shefty/rdma-win.git/commit
ib/cm: fix handling of REJ in REQ_RCVD state
authorSean Hefty <sean.hefty@intel.com>
Wed, 13 Jan 2010 19:33:56 +0000 (19:33 +0000)
committerSean Hefty <sean.hefty@intel.com>
Wed, 13 Jan 2010 19:33:56 +0000 (19:33 +0000)
commitfc4952c9838e66677a71e920a956286bea074add
tree40936d67ad86967836fad9bf9410f01cf3c61f66
parentdf809975ebe3a8e0d9d6deef15c347c0227d40ea
ib/cm: fix handling of REJ in REQ_RCVD state

If a REJ is received immediately after receiving a REQ,
then a callback can be queued to the user for the REJ before
the user has had a chance to see or process the REQ.  The
result is that the user will not have had a chance to set
any context associated with the REQ, which can lead to a
crash processing the REJ.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2661 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
trunk/core/al/kernel/al_cm_cep.c