]> git.openfabrics.org - ~shefty/rdma-win.git/commitdiff
dapl: avoid accessing cm_ptr after queuing to cr_thread
authorSean Hefty <sean.hefty@intel.com>
Fri, 5 Feb 2010 00:28:28 +0000 (16:28 -0800)
committerSean Hefty <sean.hefty@intel.com>
Fri, 5 Feb 2010 00:28:28 +0000 (16:28 -0800)
It's possible that once a cm_ptr has been added to the hca list, that the
cr_thread can remove it from the list and process it or delete it.  To avoid
any potential issue, do not reference the cm_ptr after placing it on the hca list.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>

No differences found