Thread (2 messages) read the whole thread 2 messages, 2 authors, 2022-02-09

Re: [PATCH V2] Netvsc: Call hv_unmap_memory() in the netvsc_device_remove()

From: patchwork-bot+netdevbpf@kernel.org
Date: 2022-02-09 12:12:00
Also in: linux-hyperv, lkml

Hello:

This patch was applied to netdev/net-next.git (master)
by David S. Miller [off-list ref]:

On Tue,  8 Feb 2022 09:26:52 -0500 you wrote:
From: Tianyu Lan <redacted>

netvsc_device_remove() calls vunmap() inside which should not be
called in the interrupt context. Current code calls hv_unmap_memory()
in the free_netvsc_device() which is rcu callback and maybe called
in the interrupt context. This will trigger BUG_ON(in_interrupt())
in the vunmap(). Fix it via moving hv_unmap_memory() to netvsc_device_
remove().

[...]
Here is the summary with links:
  - [V2] Netvsc: Call hv_unmap_memory() in the netvsc_device_remove()
    https://git.kernel.org/netdev/net-next/c/b539324f6fe7

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help