Re: [PATCH net] net: mctp: Ensure keys maintain only one ref to corresponding dev
From: patchwork-bot+netdevbpf
Date: Fri May 09 2025 - 19:30:28 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Thu, 08 May 2025 14:16:00 +0930 you wrote:
> mctp_flow_prepare_output() is called in mctp_route_output(), which
> places outbound packets onto a given interface. The packet may represent
> a message fragment, in which case we provoke an unbalanced reference
> count to the underlying device. This causes trouble if we ever attempt
> to remove the interface:
>
> [ 48.702195] usb 1-1: USB disconnect, device number 2
> [ 58.883056] unregister_netdevice: waiting for mctpusb0 to become free. Usage count = 2
> [ 69.022548] unregister_netdevice: waiting for mctpusb0 to become free. Usage count = 2
> [ 79.172568] unregister_netdevice: waiting for mctpusb0 to become free. Usage count = 2
> ...
>
> [...]
Here is the summary with links:
- [net] net: mctp: Ensure keys maintain only one ref to corresponding dev
https://git.kernel.org/netdev/net/c/e4f349bd6e58
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html