Re: [PATCH v1] NFC: reorganize the functions in nci_request

From
patchwork-bot+netdevbpf@kernel.org
Date
2021-11-18 04:30:38
Also in
lkml
Reply to
Lin Ma, 2021-11-15
Hello:

This patch was applied to netdev/net.git (master)
by Jakub Kicinski [off-list ref]:

On Mon, 15 Nov 2021 22:56:00 +0800 you wrote:
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);    |
                                |

[...]
Here is the summary with links:
  - [v1] NFC: reorganize the functions in nci_request
    https://git.kernel.org/netdev/net/c/86cdf8e38792

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Thread (4 messages) 4 messages, 3 authors, last reply 2021-11-18
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help