[dpdk-dev] [PATCH v2] vhost/crypto: fix incorrect copy

Maxime Coquelin maxime.coquelin at redhat.com
Fri Nov 9 15:51:57 CET 2018



On 11/6/18 5:22 PM, Fan Zhang wrote:
> This patch fixes the incorrect packet content copy in the
> chaining mode. Originally the content before cipher offset is
> overwritten by all zeros. This patch fixes the problem by
> making sure the correct write back source and destination
> settings during set up.
> 
> Signed-off-by: Fan Zhang <roy.fan.zhang at intel.com>
> ---
> v2:
> - fixed a write back size error bug.
> 
>   lib/librte_vhost/vhost_crypto.c | 460 ++++++++++++++++++++++++++++++----------
>   1 file changed, 348 insertions(+), 112 deletions(-)
> 


Applied to dpdk-next-virtio/master

Thanks,
Maxime


More information about the dev mailing list