From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 30E3EA00E6 for ; Wed, 12 Jun 2019 07:35:38 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F21641D11B; Wed, 12 Jun 2019 07:35:37 +0200 (CEST) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60080.outbound.protection.outlook.com [40.107.6.80]) by dpdk.org (Postfix) with ESMTP id E37851D119 for ; Wed, 12 Jun 2019 07:35:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=q6ojs6WjPrcizygT8jd5UpFcHE0LcCcAY6Cr5pt8k/Q=; b=s/9QqDFWHuZUdD0ZQAIuiFOr5hdaaziIGvQ9VPRnEBYZp99TSuNXUuhSNM2OE/OR1HukhsmAEkcVJzOVZY/vmPQtLkESKpFWm1WPnKdyA0QLoGy11ef6+v8YyqO1rzcm5Htq0RXGkzU3J9cmsQDpjMp/kALhHJNzT8vm7dyi+ac= Received: from VI1PR04MB4688.eurprd04.prod.outlook.com (20.177.56.80) by VI1PR04MB5215.eurprd04.prod.outlook.com (20.177.51.204) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1965.14; Wed, 12 Jun 2019 05:35:36 +0000 Received: from VI1PR04MB4688.eurprd04.prod.outlook.com ([fe80::6566:d63e:eccc:92db]) by VI1PR04MB4688.eurprd04.prod.outlook.com ([fe80::6566:d63e:eccc:92db%6]) with mapi id 15.20.1987.010; Wed, 12 Jun 2019 05:35:35 +0000 From: Shreyansh Jain To: Thinh Tran , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] raw/skeleton: fix test raw_attr set get failure Thread-Index: AQHVIJ7sOFWh9YbRbk2n7Fpk4OB6TqaXf1Jg Date: Wed, 12 Jun 2019 05:35:10 +0000 Deferred-Delivery: Wed, 12 Jun 2019 05:34:56 +0000 Message-ID: References: <20190611214412.18388-1-thinhtr@linux.vnet.ibm.com> In-Reply-To: <20190611214412.18388-1-thinhtr@linux.vnet.ibm.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=shreyansh.jain@nxp.com; x-originating-ip: [92.120.1.69] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b9b6ba47-8ce8-47a0-22e6-08d6eef7cb93 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:VI1PR04MB5215; x-ms-traffictypediagnostic: VI1PR04MB5215: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2958; x-forefront-prvs: 0066D63CE6 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(136003)(396003)(376002)(39860400002)(366004)(13464003)(189003)(199004)(66556008)(6436002)(2501003)(74316002)(66476007)(14444005)(5660300002)(73956011)(66446008)(64756008)(256004)(4744005)(478600001)(76116006)(305945005)(446003)(25786009)(66066001)(8936002)(86362001)(66946007)(9686003)(55016002)(14454004)(8676002)(81156014)(81166006)(52536014)(71190400001)(99286004)(6116002)(71200400001)(76176011)(3846002)(7736002)(186003)(6246003)(33656002)(2906002)(476003)(11346002)(316002)(6666004)(229853002)(486006)(26005)(53936002)(102836004)(7696005)(6506007)(110136005)(44832011)(53546011)(68736007); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB5215; H:VI1PR04MB4688.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: kbGEZTfe4+lb1fjb1L/ZQ+AN8GcUVqY9WmocwxNyhGOESYnnrku9V08aX5Sxyc4sMsNyYZA2wXDIa2CII0dOshvinb87B/JgxIytgsi5gqJs7d2uPsKFh77359HlSaOEhuaUhqllQOe2xwTeg2FpAsdwfhwUDRLYnHA/qh8/A+PSoJFLPMmSP/Qfd7FXsDZMjrIJA+wiNPRAIa0oENkst1S6n7l18lYINHCqelUftotD1DKORrmE7zdTftXNmVS22UInvTPO0llwwm/tWatHh2FFXd/N0Hqk6ggiMDmhAaAxqZ8VdSVwuLlIzwgI5EEUxQ0JsnOXonAKD4wdu+kHfnPxlROHCSm548bwM86ncA5gZA0zESD3lDTYnBvydwEz0a/Hc5M/FtjYWSazW1VUCUeWt/DfjrCIvGYMoATJYUU= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b9b6ba47-8ce8-47a0-22e6-08d6eef7cb93 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Jun 2019 05:35:35.8044 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: shreyansh.jain@nxp.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB5215 Subject: Re: [dpdk-dev] [PATCH] raw/skeleton: fix test raw_attr set get 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: dev On Behalf Of Thinh Tran > Sent: Wednesday, June 12, 2019 3:14 AM > To: dev@dpdk.org > Cc: Thinh Tran > Subject: [dpdk-dev] [PATCH] raw/skeleton: fix test raw_attr set get failu= re >=20 > Using memory on the stack instead of on the heap by calling malloc > also avoid memory leak in case of test case failures >=20 > Fixes: 88d0e47880ec ("raw/skeleton: fix memory leak on test failure") >=20 > Signed-off-by: Thinh Tran > --- Thanks - I had ignored this issue for quite long now. Acked-by: Shreyansh Jain