Re: [PATCH] NFC: nci: uart: Set tty->disc_data only in success path

From: patchwork-bot+netdevbpf
Date: Thu Jun 19 2025 - 11:40:06 EST


Hello:

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

On Wed, 18 Jun 2025 09:36:50 +0200 you wrote:
> Setting tty->disc_data before opening the NCI device means we need to
> clean it up on error paths. This also opens some short window if device
> starts sending data, even before NCIUARTSETDRIVER IOCTL succeeded
> (broken hardware?). Close the window by exposing tty->disc_data only on
> the success path, when opening of the NCI device and try_module_get()
> succeeds.
>
> [...]

Here is the summary with links:
- NFC: nci: uart: Set tty->disc_data only in success path
https://git.kernel.org/netdev/net/c/fc27ab48904c

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html