android_kernel_xiaomi_sm8350/drivers/infiniband
Sean Hefty 1b52fa98ed 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>
2006-05-12 14:57:52 -07:00
..
core IB: refcount race fixes 2006-05-12 14:57:52 -07:00
hw IB/ipath: Properly terminate PCI ID table 2006-05-12 14:57:52 -07:00
ulp IPoIB: Free child interfaces properly 2006-05-09 22:54:59 -07:00
Kconfig IB/ipath: kbuild infrastructure 2006-03-31 13:14:21 -08:00
Makefile IB/ipath: kbuild infrastructure 2006-03-31 13:14:21 -08:00