Re: [PATCH v1] NFC: reorganize the functions in nci_request
Date: Wed Nov 17 2021 - 23:30:38 EST
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
You are awesome, thank you!
Deet-doot-dot, I am a bot.