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

patchwork-bot+netdevbpf
2021-11-18T04:30:38Z

Hello:

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

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.