summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorSean Hefty <mshefty@ichips.intel.com>2006-05-13 01:57:52 +0400
committerRoland Dreier <rolandd@cisco.com>2006-05-13 01:57:52 +0400
commit1b52fa98edd1c3e663ea4a06519e3d20976084a8 (patch)
tree178d5fd1fe2230b39f49cd36f481024e49878eb1 /usr
parent6f4bb3d8205d943acafa2f536f37131777524b67 (diff)
downloadlinux-1b52fa98edd1c3e663ea4a06519e3d20976084a8.tar.xz
IB: refcount race fixes
Fix race condition during destruction calls to avoid possibility of accessing object after it has been freed. Instead of waking up a wait queue directly, which is susceptible to a race where the object is freed between the reference count going to 0 and the wake_up(), use a completion to wait in the function doing the freeing. Signed-off-by: Sean Hefty <sean.hefty@intel.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions