[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166877521677.4012.14328581399116193880.git-patchwork-notify@kernel.org>
Date: Fri, 18 Nov 2022 12:40:16 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Lin Ma <linma@....edu.cn>
Cc: krzk@...nel.org, davem@...emloft.net, kuba@...nel.org,
pabeni@...hat.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, mudongliangabcd@...il.com,
syzbot+43475bf3cfbd6e41f5b7@...kaller.appspotmail.com
Subject: Re: [PATCH v2] nfc/nci: fix race with opening and closing
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@...emloft.net>:
On Wed, 16 Nov 2022 21:02:49 +0800 you wrote:
> Previously we leverage NCI_UNREG and the lock inside nci_close_device to
> prevent the race condition between opening a device and closing a
> device. However, it still has problem because a failed opening command
> will erase the NCI_UNREG flag and allow another opening command to
> bypass the status checking.
>
> This fix corrects that by making sure the NCI_UNREG is held.
>
> [...]
Here is the summary with links:
- [v2] nfc/nci: fix race with opening and closing
https://git.kernel.org/netdev/net/c/0ad6bded175e
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists