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

From: patchwork-bot+netdevbpf
Date: Wed Nov 17 2021 - 23:30:38 EST


Hello:

This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

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