From nobody Wed Jul 27 20:23:33 2022 X-Original-To: dev-commits-src-branches@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 4LtQGG1TMJz4Xcw2; Wed, 27 Jul 2022 20:23:34 +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 4LtQGG0y7Cz3TdB; Wed, 27 Jul 2022 20:23:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658953414; 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=COSg9poRP2AEtwfvIJpj53u6nZ4Ee/mdJcaH06sqAsc=; b=i7peM+TfgZSpRThW8E8qwnMDdICPD6wjCLJjFuQkU624jvdHxK2lGyTywcgOX4Xu4dEa4I VR9BBGjenjZIcJlyOShubtZwpqWeXKCuEA2EOxoomB/7hX+rBQm/+Fo/sclJS3LhXIfok3 yT/x1Ll8Dwk7VUDta6k0Ds7U5ItajAII9KpZ6e6L1HTBfd4a2gaohqTTexrnp07qWnEJcJ 6euQ5W7jj0pPwlmDzjVGeBNAPC1irXK+ZxB9Pr1+EebzIo6Vyfc7+vfAdTLLjlA8Q+dCUc gRbx/qlqOK/yG51i+rmeuzm1DxXmLWfpy0Fm+QL2PsyvrEzCIoYC3j+IvQmN9g== 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 4LtQGF753tzVxG; Wed, 27 Jul 2022 20:23:33 +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 26RKNXct053949; Wed, 27 Jul 2022 20:23:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26RKNXr8053948; Wed, 27 Jul 2022 20:23:33 GMT (envelope-from git) Date: Wed, 27 Jul 2022 20:23:33 GMT Message-Id: <202207272023.26RKNXr8053948@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Rick Macklem Subject: git: 99bdbd808e32 - stable/13 - nfscl: Initialize nfsess_badslots to zero List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@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/stable/13 X-Git-Reftype: branch X-Git-Commit: 99bdbd808e3234e57709950cf0fd88d39d1edf22 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658953414; 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=COSg9poRP2AEtwfvIJpj53u6nZ4Ee/mdJcaH06sqAsc=; b=kYnPDK5L1wCnI71bcMLErJlhJrpav0LMQqoA5Lb/815xrjSVNnpUcApTycEqQk3CWKhgxW 7dCJvMhLl3BjSnN65lJouNLo3YLZxyyOogGtiplFMlVmEHD5YV53Ahw04PkCxfP6QMewf4 X2mnqrutf7OHxJJK7etScxfrZyWhZic5E6j9c9p3jf3IN/tMIK9Hrg2rgzbHVqMoWU1VCa tDfeKdOX4J8/5DTLafOSSQxRH3dhIivRzsbjc3KjOP1zYyolR3WBgM2+cz94q0P1NM13i3 YaTvsbgBy0UUQ9Hu7mgSwihxTiTe7CFSfUVSGcLhCxxJU0a8ORUp5ostHG1vKg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658953414; a=rsa-sha256; cv=none; b=CZ5p2Aor55jkBzCVXrjriiqXgG9KjI2YpKqXhun2pnMxNtElxZA4rb7ceoUqjont2+tQ3Z bpXVATZGUWJIJz6O/31ch9IgMdnWlZv4pAMLkpWjkTg6rntZD3xZcgUCjmDekgG1DtKc2h ABf1/Hy7FrO/xCoiN58vI/m4p5WzNUD6xJNhKYDvTqtpLZy75i0OW4jZuDUXvXuUYRiNjm 8GUBT6KXA0Q0AXNDtYU90gCEq9DcbkjLS8VZ0mNWHypEVRTb7AnrnVoBrFh8xQUfg4LOsD dWX5AEeH8Wcd46wkszGs+wCKbwFGBF/EjrY9hPEBJL8vncUXS33i8nDTIZ5L9g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by rmacklem: URL: https://cgit.FreeBSD.org/src/commit/?id=99bdbd808e3234e57709950cf0fd88d39d1edf22 commit 99bdbd808e3234e57709950cf0fd88d39d1edf22 Author: Rick Macklem AuthorDate: 2022-07-09 23:12:31 +0000 Commit: Rick Macklem CommitDate: 2022-07-27 20:20:17 +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 (cherry picked from commit 627f1555f571b5328637dbfbe441ed89c84db20c) --- 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 29e069f9d334..034770ddd67c 100644 --- a/sys/fs/nfsclient/nfs_clrpcops.c +++ b/sys/fs/nfsclient/nfs_clrpcops.c @@ -5844,6 +5844,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; } /*