linux/drivers/net/ethernet/google/gve
Dan Carpenter ecd89c02da gve: DQO: Fix off by one in gve_rx_dqo()
The rx->dqo.buf_states[] array is allocated in gve_rx_alloc_ring_dqo()
and it has rx->dqo.num_buf_states so this > needs to >= to prevent an
out of bounds access.

Fixes: 9b8dd5e5ea ("gve: DQO: Add RX path")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-06-29 11:49:44 -07:00
..
gve_adminq.c gve: DQO: Add core netdev features 2021-06-24 12:47:38 -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: Fix warnings reported for DQO patchset 2021-06-24 15:38:29 -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: Fix off by one in gve_rx_dqo() 2021-06-29 11:49:44 -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