]> git.openfabrics.org - ~shefty/rdma-win.git/commit
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)
commit2ae53c15bacf9d75bd1977eff0ab993c0b1bdc8d
tree6ef0fe2ece17e8ae2ea8eba521f8fa59337437a9
parent33cc4404015c647a832803d6f029938d31c0ba67
dapl: avoid accessing cm_ptr after queuing to cr_thread

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>