linux/drivers/net/ethernet/google
Dan Carpenter 1c360cc1cc gve: Fix off by one in gve_tx_timeout()
The priv->ntfy_blocks[] has "priv->num_ntfy_blks" elements so this >
needs to be >= to prevent an off by one bug.  The priv->ntfy_blocks[]
array is allocated in gve_alloc_notify_blocks().

Fixes: 87a7f321bb ("gve: Recover from queue stall due to missed IRQ")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-11-09 13:58:46 +00:00
..
gve gve: Fix off by one in gve_tx_timeout() 2021-11-09 13:58:46 +00:00
Kconfig gve: Add dqo descriptors 2021-06-24 12:47:37 -07:00
Makefile