Subject: Re: [PATCH net] net: hns3: fix kernel crash when uninstalling driver

From: [email-masked]
Date: Tue, 05 Nov 2024 13:00:33 +0000

Hello:

This patch was applied to netdev/net.git (main)
by Paolo Abeni <[email-masked]>:

On Fri, 1 Nov 2024 17:15:07 +0800 you wrote:
> From: Peiyang Wang <[email-masked]>
> 
> When the driver is uninstalled and the VF is disabled concurrently, a
> kernel crash occurs. The reason is that the two actions call function
> pci_disable_sriov(). The num_VFs is checked to determine whether to
> release the corresponding resources. During the second calling, num_VFs
> is not 0 and the resource release function is called. However, the
> corresponding resource has been released during the first invoking.
> Therefore, the problem occurs:
> 
> [...]

Here is the summary with links:
  - [net] net: hns3: fix kernel crash when uninstalling driver
    https://git.kernel.org/netdev/net/c/df3dff8ab6d7

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