ib/cm: fix handling of REJ in REQ_RCVD state
authorshefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 13 Jan 2010 19:33:56 +0000 (19:33 +0000)
committershefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 13 Jan 2010 19:33:56 +0000 (19:33 +0000)
commit76dc2a0b7a7a41019e5f30f99691eb97c0a403ba
tree8b3e10f33f36da39c5e8c69364b5fc9228f0e37f
parentbc8114c53255a70bf6ebaa4986f260f905cf00dd
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/trunk@2661 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
core/al/kernel/al_cm_cep.c