linux/drivers/net/ethernet/google/gve
Haiyue Wang 63a9192b8f gve: fix the wrong AdminQ buffer overflow check
The 'tail' pointer is also free-running count, so it needs to be masked
as 'adminq_prod_cnt' does, to become an index value of AdminQ buffer.

Fixes: 5cdad90de6 ("gve: Batch AQ commands for creating and destroying queues.")
Signed-off-by: Haiyue Wang <haiyue.wang@intel.com>
Reviewed-by: Catherine Sullivan <csully@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-07-16 10:41:40 -07:00
..
gve_adminq.c gve: fix the wrong AdminQ buffer overflow check 2021-07-16 10:41:40 -07:00
gve_adminq.h gve: Update adminq commands to support DQO queues 2021-06-24 12:47:38 -07:00
gve_desc_dqo.h gve: Add dqo descriptors 2021-06-24 12:47:37 -07:00
gve_desc.h gve: Add support for raw addressing in the tx path 2020-12-08 16:06:28 -08:00
gve_dqo.h gve: DQO: Add TX path 2021-06-24 12:47:38 -07:00
gve_ethtool.c gve: DQO: Add core netdev features 2021-06-24 12:47:38 -07:00
gve_main.c gve: Simplify code and axe the use of a deprecated API 2021-07-02 11:56:15 -07:00
gve_register.h gve: Add Gvnic stats AQ command and ethtool show/set-priv-flags. 2020-09-11 14:31:54 -07:00
gve_rx_dqo.c gve: DQO: Remove incorrect prefetch 2021-07-02 12:06:17 -07:00
gve_rx.c gve: DQO: Add ring allocation and initialization 2021-06-24 12:47:38 -07:00
gve_tx_dqo.c gve: Fix warnings reported for DQO patchset 2021-06-24 15:38:29 -07:00
gve_tx.c gve: DQO: Add ring allocation and initialization 2021-06-24 12:47:38 -07:00
gve_utils.c gve: DQO: Add RX path 2021-06-24 12:47:38 -07:00
gve_utils.h gve: DQO: Add RX path 2021-06-24 12:47:38 -07:00
gve.h gve: DQO: Add RX path 2021-06-24 12:47:38 -07:00
Makefile gve: DQO: Add core netdev features 2021-06-24 12:47:38 -07:00