From patchwork Tue Jan 12 14:31:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trond Myklebust X-Patchwork-Id: 12013655 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-20.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, INCLUDES_PULL_REQUEST,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A9384C433E0 for ; Tue, 12 Jan 2021 14:32:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5656A23132 for ; Tue, 12 Jan 2021 14:32:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727263AbhALOcH (ORCPT ); Tue, 12 Jan 2021 09:32:07 -0500 Received: from mail-mw2nam12on2128.outbound.protection.outlook.com ([40.107.244.128]:42368 "EHLO NAM12-MW2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727033AbhALOcG (ORCPT ); Tue, 12 Jan 2021 09:32:06 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OEYJdK5w0kgNl1kY/iLlxJTaOYZyKbu1KkDwaFYTt1co4dINoeLfmKSd0BSqnHwSbLgzEuYQuRzMAUprohUoYy6hbOL54CDM+bsMzxR10nLoPSubM3HDxFa8A1TLkMBGt6AuE3Ya1N7a4o8SLySKRTiX/emAWRWjgClveuNjluFbT4djCE27qyEtm194C6gCuRgogo8qcuN4pofWe0H0U5z4iz0ulLdKx6zCxbA8kCeRtjhF5c8m+yNyDnMigbDJ05DLwy38wIKTb4c7JubDUQchCLQBnjKDIA/1GW9qBJU0ZcROXUERYzr0nZek4Z9XJtMyTSrAxGS8ihcd3C8fLw== 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=l14Ui8t721gegBJNbZ3A5xzu9QaTAI7fspg/+qopT3Q=; b=OlRT/rSF53YNag9V07bKYrHKbyiPhgU1W9bLMlYLFxLiRAC/ZlVZnPB1mr2BDwq20nAXZhKlw1emBOt5oWP33GlzAgYMrQ5u0ROHPgLbalTfjAc9imaBMLW44LDmowssIg22ZOk27scfNUimcxu6jTEty++kdqlLZyg76xCVW3HHWb4bbt86rD04BOvlFx1rvN563bBFw+f50eHalIYTv+JwnPtyRhu4pJCoXiRUOBVrXDz8FAKdEtoQvDPfLQfdMs/S/qrMqIbffAgVBCNqsDR5/n49BYuVYUqTbA0doYpd9YPeaEZV5kVEQ8y2sgELm1eQEFlaUHHmaSy1s9BgtA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hammerspace.com; dmarc=pass action=none header.from=hammerspace.com; dkim=pass header.d=hammerspace.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hammerspace.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=l14Ui8t721gegBJNbZ3A5xzu9QaTAI7fspg/+qopT3Q=; b=c+C5RnBQAwFHC3q2NkC46uVv9iW8r+0GnPTHUz6OWwSW2/Gl1v1HDx0VyPHZjS2HQRh37Zrtu+zFn7lyec0TT17Xhu8ahJbNN712XmJ9FW1e6lY5xw0uc77GfF6uXoYr1FkfoT+GfF9eCxwAShIY+E+WIV+NEIiiVLujgZe2ZG4= Received: from CH2PR13MB3525.namprd13.prod.outlook.com (2603:10b6:610:21::29) by CH2PR13MB3784.namprd13.prod.outlook.com (2603:10b6:610:91::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3763.6; Tue, 12 Jan 2021 14:31:12 +0000 Received: from CH2PR13MB3525.namprd13.prod.outlook.com ([fe80::f9a6:6c23:4015:b7fc]) by CH2PR13MB3525.namprd13.prod.outlook.com ([fe80::f9a6:6c23:4015:b7fc%6]) with mapi id 15.20.3763.009; Tue, 12 Jan 2021 14:31:12 +0000 From: Trond Myklebust To: "torvalds@linux-foundation.org" CC: "linux-nfs@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: [GIT PULL] Please pull NFS client bugfixes Thread-Topic: [GIT PULL] Please pull NFS client bugfixes Thread-Index: AQHW6O+T968aSUv5BEuskih09s91eQ== Date: Tue, 12 Jan 2021 14:31:12 +0000 Message-ID: <6c2dd95f73b0fcb9715e985bdde7dfb640ce8795.camel@hammerspace.com> Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: linux-foundation.org; dkim=none (message not signed) header.d=none;linux-foundation.org; dmarc=none action=none header.from=hammerspace.com; x-originating-ip: [68.36.133.222] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f0cff9d3-1880-4bc7-3dbd-08d8b706b61b x-ms-traffictypediagnostic: CH2PR13MB3784: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2201; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: UzYvLn4Ts2D3ojQlrSfRYgn+61oYehfLGjGxHy7e2DMSs5EB+FCnKLAQ3ZIvvJZmXKHfAiAgxm46JMC61BLT3CHwk6JebCkmbJ+DxEJAgNAssmMngVLL3P6haom3Ex4MFlWz6A7r3VoM9OMGrZTKHNgKv8pcVs+fst1pXbToyt3fnqxwJy/PzcxBH2v2kaEj8ouIeq393S0mUaItmJl71EsiR6d/BAiEzLVpnNk+IXyuoayJbyuFfw+7R6k7br6aklPGTjt5LZ3hgfjjaunB0VQg8u+jUe0d82rZQgHHbrgFkVm8SkYynkRsnIIjDvtc6cLFIwSMLQbll7ayTXy+pc8dCdj2P7TP5SmpZkW5TKfw8bsFVb7HJPNXSafDDgYUfTJM4pQFngQhhD/iuy42kA== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CH2PR13MB3525.namprd13.prod.outlook.com;PTR:;CAT:NONE;SFS:(376002)(396003)(346002)(136003)(366004)(39840400004)(5660300002)(54906003)(26005)(478600001)(66446008)(6486002)(76116006)(2906002)(316002)(66556008)(6916009)(86362001)(64756008)(6512007)(66476007)(66946007)(8676002)(6506007)(83380400001)(4326008)(71200400001)(186003)(8936002)(36756003)(2616005);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: =?utf-8?q?QNlnRI/2W/FMO358aRhBi8YdXhS3Xi?= =?utf-8?q?N3kYzSKxWKUDmB3rBqjRHqtieWkeLgig1d9NtyZ6UuBLaWhxRep9WWQeOqE4NkhmJ?= =?utf-8?q?ITzGcyRe49oT0eMiXJBJyYWnMuxoebUYssXdXFHUcDsv3EPk8+aKXV4m9WGCixtmh?= =?utf-8?q?I7YX/gEApIuGguT4WmerLtexYxo9o81p4yvHShC1X37nyyYNjpv/DqywXR0IryrXv?= =?utf-8?q?fUjWSiiHzQOwUq6TkYGQsBwU7KgignmtIYx/NIj1zoFzhVNkAh8BDQZbpg0Rzag3M?= =?utf-8?q?R00lOEyGwv/eGNCzMkRx6UIq76239iOgK/VUWTbR8bgvLWKRWRQBIWav+MQt+m9qg?= =?utf-8?q?iYJlV8stEfV2n95cRDz+Ds1UoDH460p+hpmGqZyQE/zo8OEGLgJ/0H+lCK01Pa2uS?= =?utf-8?q?UghH7ekKoIBCEUNEDwFix1lydgjJVnyug889zQShMGRQxyxqaPZ2tDzMfhmO0hQ22?= =?utf-8?q?f/7/Gw7HNAY31257vQNB5lTQsRUAwyczVW/4WgWYdLNXH9C3e7jl0gtpyv43rUqho?= =?utf-8?q?31PlTmaKqYtZ+7DvWN3LszLFpMJY9TO+6I8BLZJ1DuV5gJ/pnbXdw+vE3DTThiZk9?= =?utf-8?q?guWS72C0xT1W2Y6sX/ZRm8+QbH4Ef4FiNa1HcR3YGVrTUr+k6t9gEuinkK+fKP7qY?= =?utf-8?q?A8aN0iP1oh/xvK/4ii4YMjVwTRRukOC6oFyDRDfVvDreo0MwEtVoQuNFIVXLVDP16?= =?utf-8?q?eEto3tq1Q0zcKV2zyEGan1EioaHAhoRxPGhMltzjaUkugZIxLz774N5qF5Do7hOV1?= =?utf-8?q?9YBT1oRkjEg7GxiTWlS7jRDeMLPPV5SNc/UYezJtbNX5estBFXS0tObg/zmvNKUKA?= =?utf-8?q?vwr7fMHL74t53TCzExHIhu2Ht9lf629y5x3MlX/I4nA0hFAAXWR+HkuD69Yexhcq4?= =?utf-8?q?leRGvamh0LxFMGSYiIzHzzqXwF+4MasTIOyi2zOhwcTSiZTFGLR7P2x8zg0MGY7AG?= =?utf-8?q?gF+OCrZ6dit2qBeruDA?= x-ms-exchange-transport-forked: True Content-ID: <28FFE11BF964DB43907413F65B18EBAE@namprd13.prod.outlook.com> MIME-Version: 1.0 X-OriginatorOrg: hammerspace.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CH2PR13MB3525.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f0cff9d3-1880-4bc7-3dbd-08d8b706b61b X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Jan 2021 14:31:12.4641 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 0d4fed5c-3a70-46fe-9430-ece41741f59e X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: cxvFSsjxoon1rsJy+lZ2z2JANqisDhETfBo7rjkw0Rwx8AgCHErjOvuhoWG3ynVHSBo8ewi+nwydsBDrfzz76w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR13MB3784 Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org Hi Linus, The following changes since commit e71ba9452f0b5b2e8dc8aa5445198cd9214a6a62: Linux 5.11-rc2 (2021-01-03 15:55:30 -0800) are available in the Git repository at: git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-5.11-2 for you to fetch changes up to 896567ee7f17a8a736cda8a28cc987228410a2ac: NFS: nfs_igrab_and_active must first reference the superblock (2021-01-10 16:29:28 -0500) ---------------------------------------------------------------- NFS client bugfixes for Linux 5.11 Highlights include: Bugfixes: - Fix parsing of link-local IPv6 addresses - Fix confusing logging of mount errors that was introduced by the fsopen() patchset. - Fix a tracing use after free in _nfs4_do_setlk() - Layout return-on-close fixes when called from nfs4_evict_inode() - Layout segments were being leaked in pnfs_generic_clear_request_commit() - Don't leak DS commits in pnfs_generic_retry_commit() - Fix an Oopsable use-after-free when nfs_delegation_find_inode_server() calls iput() on an inode after the super block has gone away. ---------------------------------------------------------------- Dave Wysochanski (1): NFS4: Fix use-after-free in trace_event_raw_event_nfs4_set_lock Scott Mayhew (1): NFS: Adjust fs_context error logging Trond Myklebust (9): pNFS: Mark layout for return if return-on-close was not sent pNFS: We want return-on-close to complete when evicting the inode pNFS: Clean up pnfs_layoutreturn_free_lsegs() pNFS: Stricter ordering of layoutget and layoutreturn NFS/pNFS: Don't call pnfs_free_bucket_lseg() before removing the request NFS/pNFS: Don't leak DS commits in pnfs_generic_retry_commit() NFS/pNFS: Fix a leak of the layout 'plh_outstanding' counter NFS: nfs_delegation_find_inode_server must first reference the superblock NFS: nfs_igrab_and_active must first reference the superblock j.nixdorf@avm.de (1): net: sunrpc: interpret the return value of kstrtou32 correctly fs/nfs/delegation.c | 12 ++++++---- fs/nfs/internal.h | 38 +++++++++++++++++++++++------- fs/nfs/nfs4proc.c | 28 +++++++++------------- fs/nfs/nfs4super.c | 4 ++-- fs/nfs/pnfs.c | 67 ++++++++++++++++++++++++++++------------------------- fs/nfs/pnfs.h | 8 +++---- fs/nfs/pnfs_nfs.c | 22 ++++++++---------- net/sunrpc/addr.c | 2 +- 8 files changed, 99 insertions(+), 82 deletions(-)