From nobody Sat Jul 09 23:13:25 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 2CB5317F98F3; Sat, 9 Jul 2022 23:13:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LgQtZ0k7dz3V04; Sat, 9 Jul 2022 23:13:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657408406; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6WA55RKfkH/KgFW0Wi/oadEui/yVTpydwWWkja/zrco=; b=IcUhr2rmUMjJr6T+XVzHpROeMsjcSZbwj3kpg406u0dFxa0G5oDRGb7PzxRhZS/vXPTgoZ r4pzmI8a4B3OqVuVrCSI7Cvvq+zGOlSL8I9au44vYcACdh0nt5w7/Gx86MV9G+w/6UjyUM ci03yCMqxadUIsS4FkO+dGF+GdZYcFYMtM44tdlfiQKxxQoeiB3F1zSjn1U1GAhMLWuqHN tTwsG7mERHi80XRnP/PQD147NF4gi9pXe5rGFRc/BLicy/sf75do463HgSBOTl80llxISI ftSFQgR7wm9GSqkSXNbLIbTcabJTibIy7G0sZfgQxxn9/ggd25Kq1pQGEC/Gqg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4LgQtY6vx6z12jP; Sat, 9 Jul 2022 23:13:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 269NDPUS075365; Sat, 9 Jul 2022 23:13:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 269NDPJD075364; Sat, 9 Jul 2022 23:13:25 GMT (envelope-from git) Date: Sat, 9 Jul 2022 23:13:25 GMT Message-Id: <202207092313.269NDPJD075364@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Rick Macklem Subject: git: 627f1555f571 - main - nfscl: Initialize nfsess_badslots to zero List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rmacklem X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 627f1555f571b5328637dbfbe441ed89c84db20c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657408406; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6WA55RKfkH/KgFW0Wi/oadEui/yVTpydwWWkja/zrco=; b=OOcvNfOTj9D4sk3IN4WfGDnFVX1+AFa7C1AdfGqIw3txPwo+1cdm1lSJX5KR9zZoDEvBMs LYQzQvps2H7xVkaV8nG7Q3c+OIt4NUZ+Sbas04nnKh9AIRIdQ3nzgcVG+bfq3oSzottGMs d5INpQFSqkLev9qw1Rn2ONLitNFr/jr+dB0Elmc7EfW0ME/FYpuij/ffM3LW3iFeb7ysnd dm8FWHbdHU6RbEEF021a+sHG/78sBgDpyC0sb5XvCwDSaejRIpXNxHTJmPjCWFeii1dPL3 1lhD36CQiNWBqupYuCRqJDAiKT6ZmAnqLv1nFKDldMoygswE4S9LjrjBDB+PQQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657408406; a=rsa-sha256; cv=none; b=ooWTESOFJHskpiIlCWcqYDRldAbhP56gRW0DpLG/PK5+dniEIeyNM0LTJImv3vosbfxdZP ZZGc6EqCMRv3phZ+nEgRpVM46DqYVKWR7qmhs7FhNytDzy0V4U2hVyTbsz+7pzzHo9LkOS LBf6YtLWfMNZfZdCn4+zjoxunsGUpITcNL4dNAHGJIE8w0CrxVJsovlD/RwecQn9IKoVE2 Ab2OdFfOytThzS4xAGcVDHGcbuH8Ut+m/HzzIjjXs0WNnKqJMpGprCKl39ZZI3hs/UBNnF QBVX3XUO37EE8h+aBkKgs9t9z0iVAeB4vblSewtb/6z3Udr1xGkEEY8tCvkA6A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by rmacklem: URL: https://cgit.FreeBSD.org/src/commit/?id=627f1555f571b5328637dbfbe441ed89c84db20c commit 627f1555f571b5328637dbfbe441ed89c84db20c Author: Rick Macklem AuthorDate: 2022-07-09 23:12:31 +0000 Commit: Rick Macklem CommitDate: 2022-07-09 23:12:31 +0000 nfscl: Initialize nfsess_badslots to zero Commit 40ada74ee1da added a field to mark bad session slots. This patch ensures that the field is initialized to 0. PR: 260011 MFC after: 2 weeks --- sys/fs/nfsclient/nfs_clrpcops.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/fs/nfsclient/nfs_clrpcops.c b/sys/fs/nfsclient/nfs_clrpcops.c index f5a74ecd7d65..ffb81b699017 100644 --- a/sys/fs/nfsclient/nfs_clrpcops.c +++ b/sys/fs/nfsclient/nfs_clrpcops.c @@ -6073,6 +6073,7 @@ nfscl_initsessionslots(struct nfsclsession *sep) for (i = 0; i < 64; i++) sep->nfsess_slotseq[i] = 0; sep->nfsess_slots = 0; + sep->nfsess_badslots = 0; } /*