# Re: \[PATCH v1\] NFC: reorganize the functions in nci\_request

- From: patchwork-bot+netdevbpf@kernel.org
- Date: 2021-11-18 04:30:38 
- List: netdev
- Page: https://ratatoskr.run/netdev/2021/11/1578319
- Thread: https://ratatoskr.run/netdev/2021/11/1572367/t.md

```text
Hello:

This patch was applied to netdev/net.git (master)
by Jakub Kicinski [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


```
