linux/drivers/net/ethernet/google/gve
Jeroen de Borst a95069ecb7 gve: Fix the queue page list allocated pages count
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: f5cedc84a3 ("gve: Add transmit and receive support")
Signed-off-by: Jeroen de Borst <jeroendb@google.com>
Reviewed-by: Catherine Sullivan <csully@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-11-26 15:52:34 -08:00
..
gve_adminq.c
gve_adminq.h
gve_desc.h
gve_ethtool.c gve: Fix case where desc_cnt and data_cnt can get out of sync 2019-08-05 13:18:53 -07:00
gve_main.c gve: Fix the queue page list allocated pages count 2019-11-26 15:52:34 -08:00
gve_register.h
gve_rx.c gve: Fixes DMA synchronization. 2019-11-01 15:00:05 -07:00
gve_tx.c gve: fix dma sync bug where not all pages synced 2019-11-19 12:58:18 -08:00
gve.h gve: Fix case where desc_cnt and data_cnt can get out of sync 2019-08-05 13:18:53 -07:00
Makefile gve: Add ethtool support 2019-07-01 19:36:35 -07:00