diff options
author | Shailend Chand <shailend@google.com> | 2023-10-14 03:41:21 +0200 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-10-17 13:33:29 +0200 |
commit | 95535e37e8959f50e7aee365a5bdc9e5ed720443 (patch) | |
tree | a915f6e8b78ca48186775cb743d16f5d9349540f /include/net | |
parent | Merge tag 'for-net-2023-10-13' of git://git.kernel.org/pub/scm/linux/kernel/g... (diff) | |
download | linux-95535e37e8959f50e7aee365a5bdc9e5ed720443.tar.xz linux-95535e37e8959f50e7aee365a5bdc9e5ed720443.zip |
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 'include/net')
0 files changed, 0 insertions, 0 deletions