From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 12EDA4327C; Fri, 3 Nov 2023 16:40:06 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EE31340263; Fri, 3 Nov 2023 16:40:05 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id B46F04014F for ; Fri, 3 Nov 2023 16:40:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1699026003; x=1730562003; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=QedVqusymkZ+2+KzBowzdQQrz0cbq7C3617Jna15JJI=; b=ToEww1T0DpW870aY8Nya8jCJP3S34WDA1/IMwn8cWg3NPK0jTC8GAyV2 b4UfXnxn58l2tK6MHWhskOw2Ws2P+AWT9J+FnVpjOyoNHftGE4csUpBbo YJHil7bXBhpdHrAOLTQMUlBBxLAqMdFGCGvzwVn3o+x6aFWezJqr8TTXE B+RIAF4VXL45i5k7Ugaq/FMa3L3PO+D7xk6UiUuslUmsBnAoghe26ef1s 8QSAT7XmeLdmC7VIXcynl0MSRXueYyjy5T3eX0GvpW44IW9aVPqeUzLXH 5XwfUBRig3pYSlCi7rzmxScPydR5EekQieodHQCFssCYDL1hMyyvudhCo Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10883"; a="391833907" X-IronPort-AV: E=Sophos;i="6.03,273,1694761200"; d="scan'208";a="391833907" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Nov 2023 08:39:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10883"; a="1093090213" X-IronPort-AV: E=Sophos;i="6.03,273,1694761200"; d="scan'208";a="1093090213" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by fmsmga005.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 03 Nov 2023 08:39:32 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Fri, 3 Nov 2023 08:39:32 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34 via Frontend Transport; Fri, 3 Nov 2023 08:39:32 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.169) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.34; Fri, 3 Nov 2023 08:39:31 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LrVw/jjFSBo4C1gaKOoOsqg9hT8O1mbdIWJuwH3754rGYqCgmMNadMzhL54pruCRYy6Iky/6MpjQA/Wqhva5XN7Xw48vF2iQpBeZu1/uXOr4WzioD8yFJmq6NVqcibzg5R+3FLATlnyuns8d3EK/cJWcrWQ5zUGwN7QxEnZLZGQaJWrOmkFGLWXHkylSDeHM1L2lXtbVCqIkwcZBG03xeeOMtqvDTRYQi0hTZ9EQ+v0h3cgsVXj/9FTOtgWacOg3cjI1DSnUaCrY++GdnByjLJ9DBQJfTj1r+wr1BV5GOncg+oIim7przbugF6GAwr1KcqG8AElQOBiPUEx370TDhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=kLxho3eOjNNJt5ezVKD32zOxEwx0qd6d1srw1bsTE44=; b=aaL5ZCTHdKkAdU2KD08D9/5I5EppUL3oVPjOFvTeJGl+nK9KuPKZiBLwigybHzxfrRz4nfjFeL61YXlOqtsnpwPWNKiiv3Vyizl+K74Z+jTkpV98JqAcd35/+BWdwxvqVz9cxRG69+OW2T69SWj94wizs8Hsm+94BTzYCSjDCOz0sw5AtFF4DFWXCcrT39/vBq0oHsdYnKZ71W7GSGKjDr8fPjC0vorT87OmYNB5RakxGGIA+jh1dn09ZIMQMCDj9xMsdDnjj+9cLRtuhfUdnhJ2+UnHLa0JszlwWSFdKYM08T5qcYHTBEHAy0erhrRFu4kDyDkyePV1LF1xkjZWvg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from SN7PR11MB7639.namprd11.prod.outlook.com (2603:10b6:806:32a::14) by BN9PR11MB5225.namprd11.prod.outlook.com (2603:10b6:408:132::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.24; Fri, 3 Nov 2023 15:39:28 +0000 Received: from SN7PR11MB7639.namprd11.prod.outlook.com ([fe80::809d:52ab:dc3b:8a10]) by SN7PR11MB7639.namprd11.prod.outlook.com ([fe80::809d:52ab:dc3b:8a10%6]) with mapi id 15.20.6954.021; Fri, 3 Nov 2023 15:39:28 +0000 From: "Power, Ciara" To: Gowrishankar Muthukrishnan , "dev@dpdk.org" CC: "anoobj@marvell.com" , Akhil Goyal , "Ji, Kai" Subject: RE: [PATCH v3] crypto/openssl: fix memory leaks in asym ops Thread-Topic: [PATCH v3] crypto/openssl: fix memory leaks in asym ops Thread-Index: AQHaDmilz/0gw5VCakyg/VBPQBjvqbBouu2g Date: Fri, 3 Nov 2023 15:39:28 +0000 Message-ID: References: <83522013646bcd96b2420b3f69b74255981b3a20.1698913776.git.gmuthukrishn@marvell.com> <66bfdd3e22abae4586bf47d076be4b290548cc72.1699024267.git.gmuthukrishn@marvell.com> In-Reply-To: <66bfdd3e22abae4586bf47d076be4b290548cc72.1699024267.git.gmuthukrishn@marvell.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SN7PR11MB7639:EE_|BN9PR11MB5225:EE_ x-ms-office365-filtering-correlation-id: 9e63ece9-bee5-4efc-859b-08dbdc8310a2 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 5IllmojqdJZ6efQzgWZlW+tIk94S2hjS5RnFr28r3ntAiRZy7NkzFV9AZRlv611tKQgVZKQvi4DAKXrme3qZFHg0C3T9B2NazZVN56vAOZ1ALi8adpFC8elKwI9a7ISW+0GhnP96SWfHq5z5vumtAGXnxefzZ8H4ASWgv+tIlAX80iUA6qsbhVJ0ncte7CnpM7CXZTxZ/2yPPRlJiiaDbZH76F+25f7HH5f3eGTrI1dyms2/EPIxHZG9oBFIVYRQxr8zkUlQQ9qEktvbROeNByzaB/SWLYOZJ2pviivPMge5YGN5Zl2KmT6OmarTp0e+0626xf8tvT/6NKBOgRaxI6XYxfxiD3OfHOb4oaBYkoNhZV/SdJiubNAnuAYxIkX83Rw0kNryhjyVQgG3lsPF/cufe2nCvt+2YPA0n4tRcs/DTfa1H3FlsSPlXV7EDpa+I9ydmrWFnhqpxkq9bOdHBEoxCC2gWEFPb0XDgyJNWIwAtheQXOHWvumyvzC7QShnlHPp4XtQg0dPoC6NSHSaqEjv7QLWldZ9Iy0bE08i5rkm9LcjuznLSxuHQCmVC1Ru7VeScewQ/CaHQirQghjldworNZsezKvCv91/tCwRw3BUPDvXT3X5KmOnzGcePy/G x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN7PR11MB7639.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(346002)(366004)(376002)(136003)(39860400002)(396003)(230922051799003)(1800799009)(451199024)(64100799003)(186009)(107886003)(9686003)(26005)(55016003)(83380400001)(41300700001)(8936002)(66946007)(316002)(76116006)(110136005)(66476007)(54906003)(64756008)(66446008)(66556008)(4326008)(8676002)(6506007)(38070700009)(7696005)(53546011)(71200400001)(52536014)(478600001)(33656002)(4744005)(122000001)(82960400001)(2906002)(38100700002)(86362001)(5660300002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?J5RzSw9JmaZSawonz3mpKg43b9Il3tOJUH8zhBzIscwE4Q/lzsl30bGbB6Mo?= =?us-ascii?Q?mbuiiEiWR8uqSzJIXWm/E022fi3LGDCKb02JGNd9sNXzSjM7p2U4d5j307Jc?= =?us-ascii?Q?tO7guRFgXiY4yCW9U9GPCxF+ST4lHZYrZFWC1SsiVt/tkfWUL7uaiJHEI795?= =?us-ascii?Q?1xHjTQ/tQDzK9uZN/4TciV7uFymiZlx6aFi3wSY5P8Z7D2L2fJ9sr26nuDc1?= =?us-ascii?Q?KXBrGpSZ3WaONeHFbQYi/a0TlnZ4Dt8vEfKLmIykcHM9CLftrcuqL5k9F3ZB?= =?us-ascii?Q?y1BLx6EVaHyb5A3sY+V8pfTWcwkxChdrkTX4SThlJbHTUH8HI7wcFua+scHh?= =?us-ascii?Q?cfsQBo/w4ciHISoMODatGZu/LITOA0FImcNbkDvXA/+X1DB3RV5DRSBgvq0W?= =?us-ascii?Q?Ablr1eVgXOBcrhiaLrtD/ep7VTCx38Gwk0Fy+O1jAlT+vb3l2zS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KNddeN5ThPbX3uokGmT/QaohWC4HzfwVH?= =?us-ascii?Q?cR3Kvg8/CQNsLNHSmTQkos1tinu7nmvTGNdnhJMRuDhBX+AvWzV/24Hqm6fn?= =?us-ascii?Q?DhyFrmf+IpEymifB2Qf2VQ/Yq038EtZFYTd+sTpOxu6AnKw83XPHzyZoch5E?= =?us-ascii?Q?LL7OcURpMlP7Azq8AZm1uAopg8FdfTk2fYKtibchhXdP3pgsw8d9s+jqnvEI?= =?us-ascii?Q?hTysw5KohPdh4uDUaac2GOFpJLn5xWRpxrhoIw0k?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SN7PR11MB7639.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9e63ece9-bee5-4efc-859b-08dbdc8310a2 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Nov 2023 15:39:28.0802 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: jZ9ZW2tKBMKhzugfN8MS+c/iylzBk3WCcvwY/IzHK/iZrh8HtaNhddkohK9HJZcx/ggjO11maeyZdUYvhrQMWg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR11MB5225 X-OriginatorOrg: intel.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org > -----Original Message----- > From: Gowrishankar Muthukrishnan > Sent: Friday, November 3, 2023 3:15 PM > To: dev@dpdk.org > Cc: anoobj@marvell.com; Akhil Goyal ; Ji, Kai > ; Power, Ciara ; Gowrishankar > Muthukrishnan > Subject: [PATCH v3] crypto/openssl: fix memory leaks in asym ops >=20 > Fix memory leaks in Asymmetric ops, as reported by valgrind. >=20 > Signed-off-by: Gowrishankar Muthukrishnan > --- > v3: > - changes as suggested in v2. > --- > drivers/crypto/openssl/rte_openssl_pmd.c | 30 +++++++++++++------- > drivers/crypto/openssl/rte_openssl_pmd_ops.c | 16 +++++++---- > 2 files changed, 30 insertions(+), 16 deletions(-) Acked-by: Ciara Power