[dpdk-dev] [PATCH] net/ixgbe_ipsec: prevent ic_session leak on failure

Zhang, Qi Z qi.z.zhang at intel.com
Thu Oct 25 16:13:07 CEST 2018



> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Radu Nicolau
> Sent: Tuesday, October 16, 2018 6:32 AM
> To: Varghese, Vipin <vipin.varghese at intel.com>; Ananyev, Konstantin
> <konstantin.ananyev at intel.com>; dev at dpdk.org; Lu, Wenzhuo
> <wenzhuo.lu at intel.com>
> Subject: Re: [dpdk-dev] [PATCH] net/ixgbe_ipsec: prevent ic_session leak on
> failure
> 
> 
> 
> On 10/12/2018 10:53 AM, Vipin Varghese wrote:
> > For function ixgbe_crypto_create_session, fetches ic_session from the
> > mempool. But on failure scenarios, the object is not released back to
> > mempool. Using rte_mempool_put the ic_session is put back to mempool.
> >
> > Signed-off-by: Vipin Varghese <vipin.varghese at intel.com>
> > ---
> >
> Acked-by: Radu Nicolau <radu.nicolau at intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi


More information about the dev mailing list