> From: Gagandeep Singh <g.si...@nxp.com>
> 
> 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: marcinx.smoczyn...@intel.com
> Cc: sta...@dpdk.org
> 
> Signed-off-by: Gagandeep Singh <g.si...@nxp.com>
@Fan: Could you please review this patch.

Reply via email to