From mboxrd@z Thu Jan 1 00:00:00 1970 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) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Oct 2018 04:32:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,388,1534834800"; d="scan'208,217";a="99620268" Received: from rnicolau-mobl.ger.corp.intel.com (HELO [10.237.221.57]) ([10.237.221.57]) by fmsmga001.fm.intel.com with ESMTP; 16 Oct 2018 04:32:06 -0700 To: Vipin Varghese , konstantin.ananyev@intel.com, dev@dpdk.org, wenzhuo.lu@intel.com References: <20181012095346.42141-1-vipin.varghese@intel.com> From: Radu Nicolau Message-ID: <448d5a63-e0a1-87b1-fd87-d46ae4df9f85@intel.com> Date: Tue, 16 Oct 2018 12:32:05 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <20181012095346.42141-1-vipin.varghese@intel.com> Content-Language: en-US Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [PATCH] net/ixgbe_ipsec: prevent ic_session leak on failure X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Oct 2018 11:32:08 -0000 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