diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-11-09 14:47:36 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-11-09 13:58:46 +0000 |
commit | 1c360cc1cc883fbdf0a258b4df376571fbeac5ee (patch) | |
tree | 8a56e2969d64c6e9a0f2e0ff768a2c6dd2ad37d4 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 0b9111922b1f399aba6ed1e1b8f2079c3da1aed8 (diff) |
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: 87a7f321bb6a ("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>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions