mirror of https://gitee.com/openkylin/linux.git
a95069ecb7
In gve_alloc_queue_page_list(), when a page allocation fails,
qpl->num_entries will be wrong. In this case priv->num_registered_pages
can underflow in gve_free_queue_page_list(), causing subsequent calls
to gve_alloc_queue_page_list() to fail.
Fixes:
|
||
---|---|---|
.. | ||
Makefile | ||
gve.h | ||
gve_adminq.c | ||
gve_adminq.h | ||
gve_desc.h | ||
gve_ethtool.c | ||
gve_main.c | ||
gve_register.h | ||
gve_rx.c | ||
gve_tx.c |