Skip to content
Commit c6aa9d3b authored by Michael Kelley's avatar Michael Kelley Committed by Jakub Kicinski
Browse files

hv_netvsc: Allocate memory in netvsc_dma_map() with GFP_ATOMIC



Memory allocations in the network transmit path must use GFP_ATOMIC
so they won't sleep.

Reported-by: default avatarPaolo Abeni <pabeni@redhat.com>
Link: https://lore.kernel.org/lkml/8a4d08f94d3e6fe8b6da68440eaa89a088ad84f9.camel@redhat.com/


Fixes: 846da38d ("net: netvsc: Add Isolation VM support for netvsc driver")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarMichael Kelley <mikelley@microsoft.com>
Link: https://lore.kernel.org/r/1675714317-48577-1-git-send-email-mikelley@microsoft.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 565b4824
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment