Gagandeep Singh 8edcb68fd0 cryptodev: fix multi-segment raw vector processing
If no next segment available the “for” loop will fail and it still
returns i+1 i.e. 2, which is wrong as it has filled only 1 buffer.

Fixes: 7adf992fb9bf ("cryptodev: introduce CPU crypto API")
Cc: stable@dpdk.org

Signed-off-by: Gagandeep Singh <g.singh@nxp.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
2021-10-17 19:32:13 +02:00
..
2021-08-17 08:37:52 +02:00
2021-08-17 08:37:52 +02:00
2021-10-20 08:22:41 +02:00
2021-10-05 17:03:37 +02:00
2021-07-05 15:11:30 +02:00
2021-10-08 14:58:11 +02:00
2021-08-17 08:37:52 +02:00
2021-08-17 08:37:52 +02:00
2021-08-17 08:37:52 +02:00
2021-09-30 17:38:13 +02:00
2021-08-17 08:37:52 +02:00
2021-08-17 08:37:52 +02:00
2021-10-17 14:07:03 +02:00
2021-08-17 08:37:52 +02:00
2021-10-20 10:03:55 +02:00
2021-08-17 08:37:52 +02:00
2021-09-23 19:21:47 +02:00
2021-10-20 10:00:16 +02:00
2021-08-17 08:37:52 +02:00
2021-08-17 08:37:52 +02:00
2021-08-17 08:37:52 +02:00
2021-10-05 17:03:37 +02:00
2021-08-17 08:37:52 +02:00
2021-10-20 10:00:16 +02:00