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