[dpdk-dev] [PATCH] cryptodev: fix PMD memory leak

De Lara Guarch, Pablo pablo.de.lara.guarch at intel.com
Fri Dec 21 16:43:43 CET 2018



> -----Original Message-----
> From: Zhang, Roy Fan
> Sent: Friday, December 21, 2018 2:11 PM
> To: dev at dpdk.org
> Cc: akhil.goyal at nxp.com; De Lara Guarch, Pablo
> <pablo.de.lara.guarch at intel.com>; Trahe, Fiona <fiona.trahe at intel.com>;
> stable at dpdk.org
> Subject: [PATCH] cryptodev: fix PMD memory leak
> 
> This patch fixes the memory leak during queue pair release.
> Originally the operation ring is not freed when releasing queue pair, cause
> the next queue_pair configure call fail and memory leak.
> 
> Fixes: eec136f3c54f ("aesni_gcm: add driver for AES-GCM crypto operations")
> Fixes: cf7685d68f00 ("crypto/zuc: add driver for ZUC library")
> Fixes: d61f70b4c918 ("crypto/libcrypto: add driver for OpenSSL library")
> Fixes: 3aafc423cf4d ("snow3g: add driver for SNOW 3G library")
> 
> Cc: stable at dpdk.org
> 
> Signed-off-by: Fan Zhang <roy.fan.zhang at intel.com>
> ---
>  drivers/crypto/aesni_gcm/aesni_gcm_pmd_ops.c | 5 +++++
> drivers/crypto/openssl/rte_openssl_pmd_ops.c | 5 +++++
>  drivers/crypto/snow3g/rte_snow3g_pmd_ops.c   | 5 +++++
>  drivers/crypto/zuc/rte_zuc_pmd_ops.c         | 5 +++++
>  4 files changed, 20 insertions(+)

Title should be renamed to "drivers/crypto:".

Apart from that,

Acked-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>


More information about the dev mailing list