From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 4044156AB for ; Mon, 27 Jun 2016 14:38:28 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP; 27 Jun 2016 05:38:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,536,1459839600"; d="scan'208";a="984046095" Received: from irsmsx102.ger.corp.intel.com ([163.33.3.155]) by orsmga001.jf.intel.com with ESMTP; 27 Jun 2016 05:38:25 -0700 Received: from irsmsx107.ger.corp.intel.com ([169.254.10.96]) by IRSMSX102.ger.corp.intel.com ([169.254.2.10]) with mapi id 14.03.0248.002; Mon, 27 Jun 2016 13:38:24 +0100 From: "Jain, Deepak K" To: "De Lara Guarch, Pablo" , "dev@dpdk.org" CC: "De Lara Guarch, Pablo" Thread-Topic: [dpdk-dev] [PATCH] app/test: avoid freeing mbufs twice in qat test Thread-Index: AQHR0HBYCDWJADt2LkGYMM2oqpMW2J/9QC8Q Date: Mon, 27 Jun 2016 12:38:23 +0000 Deferred-Delivery: Mon, 27 Jun 2016 12:38:18 +0000 Message-ID: References: <1467031287-30182-1-git-send-email-pablo.de.lara.guarch@intel.com> In-Reply-To: <1467031287-30182-1-git-send-email-pablo.de.lara.guarch@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_IC x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiOTUxZDMzYzgtMThlNC00ZGIyLTk0N2EtNjRlYjJiY2NkMzE1IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IkF5RUFnQW56VlwvdUhVem45VHo5alB2VVcrY081QVFUS2hscTE5QzlKOGdzPSJ9 x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] app/test: avoid freeing mbufs twice in qat test X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jun 2016 12:38:28 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Pablo de Lara > Sent: Monday, June 27, 2016 1:41 PM > To: dev@dpdk.org > Cc: De Lara Guarch, Pablo > Subject: [dpdk-dev] [PATCH] app/test: avoid freeing mbufs twice in qat te= st >=20 > Test_multi_session was freeing mbufs used in the multiple sessions create= d > and setting obuf to NULL after it, but ibuf was not being set to NULL, an= d > therefore, it was being freed again (ibuf and obuf are pointing at the sa= me > address), in the ut_teardown() function. >=20 > Fixes: 1b9cb73ecef1 ("app/test: fix qat autotest failure") >=20 > Signed-off-by: Pablo de Lara > --- > app/test/test_cryptodev.c | 9 ++++++++- > 1 file changed, 8 insertions(+), 1 deletion(-) >=20 > -- > 2.5.0 Acked-by: Deepak K Jain