diff options
author | Shailend Chand <shailend@google.com> | 2023-10-14 01:41:21 +0000 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-10-17 13:33:29 +0200 |
commit | 95535e37e8959f50e7aee365a5bdc9e5ed720443 (patch) | |
tree | a915f6e8b78ca48186775cb743d16f5d9349540f /net/ipv4/ipcomp.c | |
parent | 2b10740ce74abaea31c2cad4ff8e180549c4544b (diff) |
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: 82fd151d38d9 ("gve: Reduce alloc and copy costs in the GQ rx path")
Signed-off-by: Shailend Chand <shailend@google.com>
Link: https://lore.kernel.org/r/20231014014121.2843922-1-shailend@google.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/ipv4/ipcomp.c')
0 files changed, 0 insertions, 0 deletions