Skip to content
Commit 95535e37 authored by Shailend Chand's avatar Shailend Chand Committed by Paolo Abeni
Browse files

gve: Do not fully free QPL pages on prefill errors



The prefill function should have only removed the page count bias it
added. Fully freeing the page will cause gve_free_queue_page_list to
free a page the driver no longer owns.

Fixes: 82fd151d ("gve: Reduce alloc and copy costs in the GQ rx path")
Signed-off-by: default avatarShailend Chand <shailend@google.com>
Link: https://lore.kernel.org/r/20231014014121.2843922-1-shailend@google.com


Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent 2b10740c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment