Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp4077992ybl; Tue, 20 Aug 2019 06:44:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqw0iXNN4UIMrt4nH1VJ2lRUKN+VLK3f/ypUkD9xsEY3ollbnH7XR/o3t9CIKS2TatF81E1R X-Received: by 2002:a17:902:581:: with SMTP id f1mr818327plf.246.1566308652769; Tue, 20 Aug 2019 06:44:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1566308652; cv=pass; d=google.com; s=arc-20160816; b=nDzYmBwtbNcCA0Ifom2z72sgOGBv6cf2iGChCuxhWkwZ2AexyWPRolsQGMiV6PoA5E O1x4om67fKKARhzU1RR3Jw9jdYkM5bYc6/mh+Ffi2eO0giI1U/RZXTzVtVGIGd17eQnr Xwv2Y4p3AkXijIguW53uNnj1zRhflSm9cCCt57672jHB7VqCn8p24V9ZM1S6r9f0rEUC ZeE7O0E8hm/P5BCGn4bB/1KeknpfHCwMTduEI9Tld99gFQTI6PQ+R4oXceQfVoQVzUwi ygEeh1V537F/rV2hdAhVi2GMCONx3QxAp2WT1P4AXvzsJV6w+uTy1z/DxPZDH+bz5vqE giVg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature; bh=fsbfFxHe6+zkm1OW6WYTPMnhRsnO+go+MVCK3VvS5xA=; b=R/uCau48odY/yPHBsBOrKUjeOjDAJHQz3di2NjkiX5NUe6htO8TBxxSufhg/GQaNys hLK882g4RQuue8wOK/eAZ4+r/0qBpU8BGVtXMFqZ0iLzMv9V9AA5UQ9CcIWVDF6oX/DR uBRcX1g/EdxGXBQgCcyAsdHddQjMIyQU+Lht6Q2Sxv6Js+5KZjIMAxUbUphgn4+d56ge J4wlLVOaFipUvxib6J1Qfejdva6Qmwd8vysjRrgMZ7tw32acfLZUfDWkYwc/smY6sj8Q 7zRdIHY0eScPXzhXub8vu4ARp9jTDoVudaONqJKGzpkl3SyMdoXuGnjr0Qv4/Ygyuv8K CtZA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@netapp.onmicrosoft.com header.s=selector2-netapp-onmicrosoft-com header.b=hnL2+OrI; arc=pass (i=1 spf=pass spfdomain=netapp.com dkim=pass dkdomain=netapp.com dmarc=pass fromdomain=netapp.com); spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y8si22743pjp.22.2019.08.20.06.43.46; Tue, 20 Aug 2019 06:44:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@netapp.onmicrosoft.com header.s=selector2-netapp-onmicrosoft-com header.b=hnL2+OrI; arc=pass (i=1 spf=pass spfdomain=netapp.com dkim=pass dkdomain=netapp.com dmarc=pass fromdomain=netapp.com); spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730508AbfHTNlz (ORCPT + 99 others); Tue, 20 Aug 2019 09:41:55 -0400 Received: from mail-eopbgr690078.outbound.protection.outlook.com ([40.107.69.78]:42254 "EHLO NAM04-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730494AbfHTNly (ORCPT ); Tue, 20 Aug 2019 09:41:54 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jXShUz5Opx7tAnsDZz8Nir1cHxMigpAAV4Ue8u7twcLGIZLWRyb6DMJCyIJzIjrDTQSNmRfaCz+RTLCckolhc/kNGW3zUA6V5oaiVxQZEJpbLlVj22ep44i7s+mQwG6+kbnNGkeoswX5TkAUlyMaoOOo2SWt/TjwDJVT2rnwuddYrflXrpUqgvqrO2TCHsXChgNHxZMnfU1sk8f8Id8fthAPRdyGX/C2EoUJQxt+cgtrY33yIxQXDKxIOrycbky+q/Sfup5AOLtpoTzjOuO9aHCeSErBeFbJKHgJ0m872x50v6tQps9ptr5RgXKVmKXWxM1OwPc99iHwPCiFLh/EtA== 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-SenderADCheck; bh=fsbfFxHe6+zkm1OW6WYTPMnhRsnO+go+MVCK3VvS5xA=; b=iV4k+QtcVbqjK0oMHD0YK7IDppRg2AesMu8W+jDX/l2Ysv28QYZL0gchTnpqY8ixDGwwGOiZB5Cga2f27d/+GQ2Qr11LuIBp8JqYeoH5s20wDMTbdOkbEMTtMzEJpKdi685wzPFfaCW6I5puCnNoEdVq6cgpLGiDPg0zGcPa08AtJyjuCWMnHJn7mP7dLxRblf/BSR5ltGHU3cXFM7MSdQ1ilrkzS/X/1ddKjSUm9AZciFLhTrK+EX7n+6OrjfzpW90v1eLOtj4rILu/Y6hqY5ursdsCe4y4kaAXV5bbX3I+tfN7Qy4nOfLfW+HDMfTgMV1TYB5vqoHGyz9KcQ9z5Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=netapp.com; dmarc=pass action=none header.from=netapp.com; dkim=pass header.d=netapp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netapp.onmicrosoft.com; s=selector2-netapp-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fsbfFxHe6+zkm1OW6WYTPMnhRsnO+go+MVCK3VvS5xA=; b=hnL2+OrIxuMubvUWpb58INHFfrcK5Sp21UDHX/BpPLPaylpvqCSoRhkS6eFSkryOvi3brQXJTVTgsMn2ycvRovlqKYiBJ0LpAyImmgTNVXt9qWc1+gtZz7RRow+6gDP/VZf65UNlbFz/ciRHq9c+LV5a4LygT183gqYi5UUC4Tg= Received: from CY4PR06MB3479.namprd06.prod.outlook.com (10.175.117.23) by CY4PR06MB3189.namprd06.prod.outlook.com (10.171.249.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2157.23; Tue, 20 Aug 2019 13:41:51 +0000 Received: from CY4PR06MB3479.namprd06.prod.outlook.com ([fe80::b0fc:fa55:aefa:2df2]) by CY4PR06MB3479.namprd06.prod.outlook.com ([fe80::b0fc:fa55:aefa:2df2%7]) with mapi id 15.20.2178.018; Tue, 20 Aug 2019 13:41:51 +0000 From: "Schumaker, Anna" To: "wenwen@cs.uga.edu" CC: "linux-nfs@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "trond.myklebust@hammerspace.com" Subject: Re: [PATCH] NFSv4: Fix a memory leak bug Thread-Topic: [PATCH] NFSv4: Fix a memory leak bug Thread-Index: AQHVVyyHiHYO1iTzCEO7R0t7VsKtAKcEC7AA Date: Tue, 20 Aug 2019 13:41:51 +0000 Message-ID: References: <1566287651-11386-1-git-send-email-wenwen@cs.uga.edu> In-Reply-To: <1566287651-11386-1-git-send-email-wenwen@cs.uga.edu> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Evolution 3.32.4 authentication-results: spf=none (sender IP is ) smtp.mailfrom=Anna.Schumaker@netapp.com; x-originating-ip: [23.28.75.121] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 398c6b4d-566d-4a69-4680-08d72574282e x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020);SRVR:CY4PR06MB3189; x-ms-traffictypediagnostic: CY4PR06MB3189: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 013568035E x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(376002)(396003)(366004)(346002)(136003)(39860400002)(199004)(189003)(51914003)(99286004)(76176011)(478600001)(6916009)(6512007)(5640700003)(6486002)(54906003)(58126008)(66946007)(229853002)(6436002)(296002)(2501003)(66476007)(76116006)(316002)(91956017)(64756008)(66556008)(66066001)(66446008)(305945005)(486006)(7736002)(36756003)(6246003)(2171002)(14444005)(256004)(11346002)(3846002)(81166006)(8676002)(5660300002)(81156014)(14454004)(2616005)(476003)(1730700003)(118296001)(6116002)(446003)(2351001)(4326008)(186003)(8936002)(86362001)(6506007)(102836004)(25786009)(53936002)(2906002)(26005)(71200400001)(71190400001);DIR:OUT;SFP:1101;SCL:1;SRVR:CY4PR06MB3189;H:CY4PR06MB3479.namprd06.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: netapp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: zXFfv7oFlgnxvB8bLcrxyRDTZfDiiafDhvZ4uEpSNY9czfcnMdVhQkA8hbQ1oy+9tbw3qAjAQM6PIZ9dbKxBnbjBU4fiCKDl30C1jsLDETEx+2dW/u2gwDVC3OxA/DARUmbSnFsaaIU1g9eK8H+HdllhzhGxTrYV/v9eE0GUZBKk40A1Q6UEyL6KzapzpqHrNMlbgPdjZUkRDsEM/yZvJ5S8tAV4sQQMXPnN5mUsi8pFcPPcJTIutPN9kb4H2XTZ9KdXYf85UA0Q3bu27xiNFyhj0cifoiSo9XtdSYCU59gme+ddKUugxlL0wGdWFMdwK12WU4qJ2P7rh/wG7QnfzmlBqvkZBWpVImgA0mhLz4lNvHRi8wcLBaabH0IK3lYXzfmk0m0gPNxKotQUA6WEAntaYZZCP5JOli2HQCjFmfU= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: <6A02B07109F39949B8772C40D1CD68AF@namprd06.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: netapp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 398c6b4d-566d-4a69-4680-08d72574282e X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Aug 2019 13:41:51.5030 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4b0911a0-929b-4715-944b-c03745165b3a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: S6Chl+ayliSg76Vc+gMcKNVcXNtmRvrhheBVl0OE5Nj9F05LWofaE1DSFFvcNQgbqFGdlI3qlGXAFOjRPBMpMw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR06MB3189 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org SGkgV2Vud2VuLA0KDQpPbiBUdWUsIDIwMTktMDgtMjAgYXQgMDI6NTQgLTA1MDAsIFdlbndlbiBX YW5nIHdyb3RlOg0KPiBJbiBuZnM0X3RyeV9taWdyYXRpb24oKSwgaWYgbmZzNF9iZWdpbl9kcmFp bl9zZXNzaW9uKCkgZmFpbHMsIHRoZQ0KPiBwcmV2aW91c2x5IGFsbG9jYXRlZCAncGFnZScgYW5k ICdsb2NhdGlvbnMnIGFyZSBub3QgZGVhbGxvY2F0ZWQsDQo+IGxlYWRpbmcgdG8NCj4gbWVtb3J5 IGxlYWtzLiBUbyBmaXggdGhpcyBpc3N1ZSwgZnJlZSAncGFnZScgYW5kICdsb2NhdGlvbnMnIGJl Zm9yZQ0KPiByZXR1cm5pbmcgdGhlIGVycm9yLg0KPiANCj4gU2lnbmVkLW9mZi1ieTogV2Vud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