[dpdk-dev] [PATCH] crypto/aesni_mb: fix possible crypto job leak

De Lara Guarch, Pablo pablo.de.lara.guarch at intel.com
Thu Jul 13 18:34:36 CEST 2017



> -----Original Message-----
> From: Doherty, Declan
> Sent: Thursday, July 13, 2017 4:56 PM
> To: De Lara Guarch, Pablo <pablo.de.lara.guarch at intel.com>
> Cc: dev at dpdk.org; stable at dpdk.org
> Subject: Re: [PATCH] crypto/aesni_mb: fix possible crypto job leak
> 
> On 13/07/2017 4:35 AM, Pablo de Lara wrote:
> > When dequeueing operations from an AESNI-MB device, crypto jobs are
> > dequeued from the internal scheduler in the Multi-buffer library.
> >
> > If the number of jobs available to retrieve are higher than the number
> > of crypto operations that are required, then an extra job is retrieved
> > (due to an incorrect conditional), but not used.
> > This leads to a job leak and the operation associated to that job will
> > not be ever dequeued.
> >
> > Fixes: 0f548b50a160 ("crypto/aesni_mb: process crypto op on dequeue")
> > Cc: stable at dpdk.org
> >
> > Signed-off-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>
> > ---
> 
> ...
> >
> 
> Acked-by: Declan Doherty <declan.doherty at intel.com>

Applied to dpdk-next-crypto.

Pablo


More information about the dev mailing list