]> git.openfabrics.org - ~ardavis/dapl.git/commit
ucm: hold lock when sending cm_msgs to sync timer start with packet send
authorArlin Davis <arlin.r.davis@intel.com>
Fri, 3 Dec 2010 22:24:40 +0000 (14:24 -0800)
committerArlin Davis <arlin.r.davis@intel.com>
Fri, 3 Dec 2010 22:24:40 +0000 (14:24 -0800)
commit48c594ba32507e49e4c28be0fc7094df96b52340
tree41af185d8d4200338bbbcc3f718888162c711e7b
parent4395b4d95e39d460ead28fc7fe76a3cfcbf16935
ucm: hold lock when sending cm_msgs to sync timer start with packet send

releasing the lock after setting start timer and before
ucm_send could result in incorrect timeout on CM operations
if thread is scheduled out when releasing lock.

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
dapl/openib_ucm/cm.c