Re: [PATCH net,v2] hv_netvsc: Fix panic during namespace deletion with VF

From: patchwork-bot+netdevbpf
Date: Fri Aug 08 2025 - 16:50:36 EST


Hello:

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

On Wed, 6 Aug 2025 13:21:51 -0700 you wrote:
> From: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>
>
> The existing code move the VF NIC to new namespace when NETDEV_REGISTER is
> received on netvsc NIC. During deletion of the namespace,
> default_device_exit_batch() >> default_device_exit_net() is called. When
> netvsc NIC is moved back and registered to the default namespace, it
> automatically brings VF NIC back to the default namespace. This will cause
> the default_device_exit_net() >> for_each_netdev_safe loop unable to detect
> the list end, and hit NULL ptr:
>
> [...]

Here is the summary with links:
- [net,v2] hv_netvsc: Fix panic during namespace deletion with VF
https://git.kernel.org/netdev/net/c/33caa208dba6

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