From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00084.outbound.protection.outlook.com [40.107.0.84]) by dpdk.org (Postfix) with ESMTP id 9983F2BA4 for ; Thu, 1 Nov 2018 09:44:10 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FUbt5FE/aZzAUJheue9kxe6PugwZMmAwI1VaaTLMA5A=; b=n0yLNsFMe5n7Ln5dBQp06ue2zUOL8L1ltE3Dhg1aW79QhHQVc+siB86mAUcscDlY8285W/g9iUDDsTMba3aejaQSxs4m9sJ9NF+zuD16FF0FGmOww+u2GJ41bbsW2eQZvGnFcxT9UQTpzmYG9xJN+QyAmpmA7VTsFI8YoFfI/Ag= Received: from DB7PR05MB4426.eurprd05.prod.outlook.com (52.134.109.15) by DB7PR05MB4985.eurprd05.prod.outlook.com (20.176.236.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1273.26; Thu, 1 Nov 2018 08:44:09 +0000 Received: from DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::80e:e6b:baf2:d973]) by DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::80e:e6b:baf2:d973%3]) with mapi id 15.20.1273.027; Thu, 1 Nov 2018 08:44:08 +0000 From: Shahaf Shuler To: Yongseok Koh , Dekel Peled CC: dev , Ori Kam Thread-Topic: [PATCH] net/mlx5: fix missing memory deallocation Thread-Index: AQHUb7f3xrv8JlkdcUa+YdVuzLr4haU6i7aw Date: Thu, 1 Nov 2018 08:44:08 +0000 Message-ID: References: <1540829350-45782-1-git-send-email-dekelp@mellanox.com> <8720A3D8-2767-40AC-A165-68C4FE6533EE@mellanox.com> In-Reply-To: <8720A3D8-2767-40AC-A165-68C4FE6533EE@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=shahafs@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB7PR05MB4985; 6:UZt45IDmHal2lgb4pTV/zwIJ6aHLVgFMLx7TVxLfzxaRS5JzRh0BVF/g/973Jro3iL3beNFL6+s7zhvlg8zmJvh7VUl5lBZXRHq2MSveU8e7OzRrx/ZoY6indt4gf33Pz5S2zzGzpNOYL/szartPoZaGDBqbnP27TQKpW3m6Bd8S8t9g3jgbJTo0RvxUxrHloHnb/kAJbti7uXtOoCWXqWUCQjEpenFAcfagqgkZLpOFeN31GcaaSuMCZtEC36kNNdE6vGHZDvklEVT3Zgc57NdWMcpsS7eFapv33E5woUHOHPg61gUzlWsuk9gTihC6rWALuZcZdenGZXpl0vkUnJ2PmknsPPEe7m1PDnPaeIIp+PXCpX1dUIysaswmQWG2viO5rgv02j0y2egR4nhwverUrvGsyN8Pb6+x/Hi3eLfHYETNyKZflqwxtT1kgk332YqqQO9Ymf4hfqQS+uDv1A==; 5:NSa/+6ARPj/QF9VyIAFrsxUEj2eTX5bTwawrjmai8BRx3y/rUIO7smYsSV0VD0qIjIABWqF5eMPXnTYhqhhx1rmTfpeC4MZosOvZWhnwTwwnZRNa3qinNMFOwpxio8UrbbpJwHNktAL8VEKny7ECwf9DXYACgjTSjEZ/0xHEemE=; 7:/Iu4XzqAL7aW1tQ4/SZBgRdZ+yRKp7Dn7TfFxxHIX97GjB8vsDkZ3GVyDcsHLC2oU2mveQO198JcvO4rC39RR+3TAQEUB/b2vMtEo+fFTMtJ1ExTtCLQNqPCh3UQdTNl6JvLFnThv7y2R8mbHDSlog== x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: c6a76f38-d5b0-41d4-51cb-08d63fd63090 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:DB7PR05MB4985; x-ms-traffictypediagnostic: DB7PR05MB4985: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(3231382)(944501410)(52105095)(6055026)(148016)(149066)(150057)(6041310)(20161123562045)(20161123558120)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095); SRVR:DB7PR05MB4985; BCL:0; PCL:0; RULEID:; SRVR:DB7PR05MB4985; x-forefront-prvs: 0843C17679 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(346002)(376002)(39860400002)(366004)(136003)(189003)(199004)(26005)(446003)(6246003)(54906003)(7696005)(316002)(55016002)(71190400001)(71200400001)(53546011)(76176011)(256004)(2906002)(6506007)(11346002)(53936002)(6116002)(486006)(3846002)(110136005)(186003)(8676002)(9686003)(5660300001)(107886003)(102836004)(105586002)(6436002)(97736004)(106356001)(74316002)(476003)(33656002)(66066001)(25786009)(478600001)(86362001)(229853002)(2900100001)(5250100002)(4326008)(99286004)(305945005)(81156014)(8936002)(81166006)(14454004)(6636002)(68736007)(7736002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR05MB4985; H:DB7PR05MB4426.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: /WRk95uh9iDTF6prEVvisOfMcwhSYrTX4qIYdJ0iACyJQonsdkDYoFUS4fUAD076P5gipLVa+U7W9rT/wPhKXf9HLVX0gcdCprJCn45lJsmETxX8GCqqYg8PKxtTPZjk6o54SxV5Yn3vCXY7cXze25LNbMvmfUEr7uWGgGbnjPvuQ1kc5UgxX7MxJaR3ZIE7BZGEpRctiJFhPxhh57vOppmecFkWS695Tdyk5UQRFoqyqL//fntJv2sXjSBlD80T6BgVG2hBp20WboUFds7xjqh/PiGztPorAPuj3jIuKw8iiv2yt3MQQCMQeMlK9I+NAHW+VC5E36a4eunDRSCVy5IbGAQxVxTG8FfW0qjxhUY= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: c6a76f38-d5b0-41d4-51cb-08d63fd63090 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Nov 2018 08:44:08.8628 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR05MB4985 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix missing memory deallocation 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: Thu, 01 Nov 2018 08:44:10 -0000 Monday, October 29, 2018 8:48 PM, Yongseok Koh: > Subject: Re: [PATCH] net/mlx5: fix missing memory deallocation >=20 >=20 > > On Oct 29, 2018, at 9:09 AM, Dekel Peled wrote: > > > > Add freeing of allocated memroy before exiting on mlx5dv error. > > > > Fixes: fc2c498ccb94 ("net/mlx5: add Direct Verbs translate items") > > Cc: orika@mellanox.com > > > > Signed-off-by: Dekel Peled > > --- >=20 > Nice catch! >=20 > Acked-by: Yongseok Koh Applied to next-net-mlx, thanks.