android_kernel_xiaomi_sm8350/drivers/infiniband
Jack Morgenstein fd60ae404f IB/uverbs: Avoid a crash on device hot remove
Wait until all users have closed their device context before allowing
device unregistration to complete.  This prevents a crash caused by
referring to stale data structures.

A better solution would be to have a way to revoke contexts rather
than waiting for userspace to close the context, but that's a much
bigger change that will have to wait.  For now let's at least avoid
the crash.

Signed-off-by: Jack Morgenstein <jackm@mellanox.co.il>
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2006-08-03 10:56:42 -07:00
..
core IB/uverbs: Avoid a crash on device hot remove 2006-08-03 10:56:42 -07:00
hw IB/mthca: Clean up mthca array index mask 2006-08-03 09:44:22 -07:00
ulp IB/ipoib: Remove broken link from Kconfig and documentation 2006-08-03 10:48:31 -07:00
Kconfig IB/iser: iSER Kconfig and Makefile 2006-06-22 07:51:14 -07:00
Makefile IB/iser: iSER Kconfig and Makefile 2006-06-22 07:51:14 -07:00