diff options
| author | Dan Carpenter <[email protected]> | 2021-06-29 08:25:13 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-06-29 18:49:44 +0000 |
| commit | ecd89c02da85f724a2d24bc5a7e28043cc24b5d7 (patch) | |
| tree | 01e114b8af6a1b8944f3b5b7196df9df9631700d /tools/testing/selftests/tc-testing/plugin-lib/scapyPlugin.py | |
| parent | Merge branch 'stmmac-phy-wol' (diff) | |
| download | kernel-ecd89c02da85f724a2d24bc5a7e28043cc24b5d7.tar.gz kernel-ecd89c02da85f724a2d24bc5a7e28043cc24b5d7.zip | |
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: 9b8dd5e5ea48 ("gve: DQO: Add RX path")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/tc-testing/plugin-lib/scapyPlugin.py')
0 files changed, 0 insertions, 0 deletions
