mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-24 12:44:11 +08:00
86cdf8e387
There is a possible data race as shown below: thread-A in nci_request() | thread-B in nci_close_device() | mutex_lock(&ndev->req_lock); test_bit(NCI_UP, &ndev->flags); | ... | test_and_clear_bit(NCI_UP, &ndev->flags) mutex_lock(&ndev->req_lock); | | This race will allow __nci_request() to be awaked while the device is getting removed. Similar to commit |
||
---|---|---|
.. | ||
core.c | ||
data.c | ||
hci.c | ||
Kconfig | ||
lib.c | ||
Makefile | ||
ntf.c | ||
rsp.c | ||
spi.c | ||
uart.c |