mirror of https://gitee.com/openkylin/linux.git
e3524b269e
The use of wait queues in vmw_pvrdma for handling concurrent
access to a resource leaves a race condition which can cause a use
after free bug.
Fix this by using the pattern from other drivers, complete() protected by
dec_and_test to ensure complete() is called only once.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
pvrdma.h | ||
pvrdma_cmd.c | ||
pvrdma_cq.c | ||
pvrdma_dev_api.h | ||
pvrdma_doorbell.c | ||
pvrdma_main.c | ||
pvrdma_misc.c | ||
pvrdma_mr.c | ||
pvrdma_qp.c | ||
pvrdma_ring.h | ||
pvrdma_srq.c | ||
pvrdma_verbs.c | ||
pvrdma_verbs.h |