From mboxrd@z Thu Jan 1 00:00:00 1970 From: Radu Nicolau Subject: Re: [PATCH] net/ixgbe_ipsec: prevent ic_session leak on failure Date: Tue, 16 Oct 2018 12:32:05 +0100 Message-ID: <448d5a63-e0a1-87b1-fd87-d46ae4df9f85@intel.com> References: <20181012095346.42141-1-vipin.varghese@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit To: Vipin Varghese , konstantin.ananyev@intel.com, dev@dpdk.org, wenzhuo.lu@intel.com Return-path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 71D405911 for ; Tue, 16 Oct 2018 13:32:08 +0200 (CEST) In-Reply-To: <20181012095346.42141-1-vipin.varghese@intel.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 > --- > Acked-by: Radu Nicolau