Date: Sat, 9 Jul 2022 23:13:25 GMT From: Rick Macklem <rmacklem@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 627f1555f571 - main - nfscl: Initialize nfsess_badslots to zero Message-ID: <202207092313.269NDPJD075364@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by rmacklem: URL: https://cgit.FreeBSD.org/src/commit/?id=627f1555f571b5328637dbfbe441ed89c84db20c commit 627f1555f571b5328637dbfbe441ed89c84db20c Author: Rick Macklem <rmacklem@FreeBSD.org> AuthorDate: 2022-07-09 23:12:31 +0000 Commit: Rick Macklem <rmacklem@FreeBSD.org> 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; } /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202207092313.269NDPJD075364>