numam-dpdk/drivers
Matan Azrad 60b254e392 net/mlx5: fix Rx queue recovery mechanism
The local variables are getting inconsistent in data receiving routines
after queue error recovery.
Receive queue consumer index is getting wrong, need to reset one to the
size of the queue (as RQ was fully replenished in recovery procedure).

In MPRQ case, also the local consumed strd variable should be reset.

CVE-2022-28199
Fixes: 88c0733535 ("net/mlx5: extend Rx completion with error handling")
Cc: stable@dpdk.org

Signed-off-by: Alexander Kozyrev <akozyrev@nvidia.com>
Signed-off-by: Matan Azrad <matan@nvidia.com>
2022-08-29 12:53:49 +02:00
..
baseband version: 22.11-rc0 2022-07-21 12:13:48 +02:00
bus version: 22.11-rc0 2022-07-21 12:13:48 +02:00
common version: 22.11-rc0 2022-07-21 12:13:48 +02:00
compress version: 22.11-rc0 2022-07-21 12:13:48 +02:00
crypto version: 22.11-rc0 2022-07-21 12:13:48 +02:00
dma version: 22.11-rc0 2022-07-21 12:13:48 +02:00
event version: 22.11-rc0 2022-07-21 12:13:48 +02:00
gpu version: 22.11-rc0 2022-07-21 12:13:48 +02:00
mempool version: 22.11-rc0 2022-07-21 12:13:48 +02:00
net net/mlx5: fix Rx queue recovery mechanism 2022-08-29 12:53:49 +02:00
raw version: 22.11-rc0 2022-07-21 12:13:48 +02:00
regex version: 22.11-rc0 2022-07-21 12:13:48 +02:00
vdpa version: 22.11-rc0 2022-07-21 12:13:48 +02:00
meson.build test: load drivers using build directory 2022-08-25 16:23:17 +02:00