]> git.openfabrics.org - ~shefty/rdma-win.git/commit
dapl: move close device after async thread is done using it
authorSean Hefty <sean.hefty@intel.com>
Fri, 22 Jan 2010 22:48:54 +0000 (14:48 -0800)
committerSean Hefty <sean.hefty@intel.com>
Fri, 22 Jan 2010 22:48:54 +0000 (14:48 -0800)
commit123f3ff273b5e819457a737543bf288c31b51168
tree977977969443cd216ed0ca116e8cbd8debb6e5d3
parent1a2e03aa93780e8767fd6e0292edb623a39a56eb
dapl: move close device after async thread is done using it

Before calling ibv_close_device, wait for the asynchronous
processing thread to finish using the device.  This prevents
a use after free error.

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