[dpdk-stable] [PATCH] cryptodev: fix PMD memory leak
De Lara Guarch, Pablo
pablo.de.lara.guarch at intel.com
Tue Jan 8 23:44:51 CET 2019
> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of De Lara Guarch,
> Pablo
> Sent: Friday, December 21, 2018 3:44 PM
> To: Zhang, Roy Fan <roy.fan.zhang at intel.com>; dev at dpdk.org
> Cc: akhil.goyal at nxp.com; Trahe, Fiona <fiona.trahe at intel.com>;
> stable at dpdk.org
> Subject: Re: [dpdk-dev] [PATCH] cryptodev: fix PMD memory leak
>
>
>
> > -----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>
Applied to dpdk-next-crypto.
Thanks,
Pablo
More information about the stable
mailing list