opnsense-src/sys/fs
Rick Macklem 7deb47265d nfsd: Reply NFSERR_SEQMISORDERED for bogus seqid argument
The ESXi NFSv4.1 client bogusly sends the wrong value
for the csa_sequence argument for a Create_session operation.
RFC8881 requires this value to be the same as the sequence
reply from the ExchangeID operation most recently done for
the client ID.

Without this patch, the server replies NFSERR_STALECLIENTID,
which is the correct response for an NFSv4.0 SetClientIDConfirm
but is not the correct error for NFSv4.1/4.2, which is
specified as NFSERR_SEQMISORDERED in RFC8881.
This patch fixes this.

This change does not fix the issue reported in the PR, where
the ESXi client loops, attempting ExchangeID/Create_session
repeatedly.

PR:	261291

(cherry picked from commit 17a56f3fab)
2022-02-15 17:02:28 -08:00
..
autofs Ensure that dirent's d_off field is initialized 2021-01-03 11:50:31 -05:00
cd9660 buffer pager: allow get_blksize method to return error 2021-09-24 03:26:59 +03:00
cuse Fix for loading cuse.ko via rc.d . Make sure we declare the cuse(3) 2020-10-23 08:44:53 +00:00
deadfs vn_open(): If the vnode is reclaimed during open(2), do not return error. 2021-02-24 09:42:42 +02:00
devfs fs: fix a few common typos in source code comments 2022-02-09 07:18:56 +01:00
ext2fs fs: fix a few common typos in source code comments 2022-02-09 07:18:56 +01:00
fdescfs fdescfs: add an option to return underlying file vnode on lookup 2021-06-11 03:33:48 +03:00
fifofs fifo: support flock 2021-10-11 09:12:48 +00:00
fuse fusefs: Address -Wunused-but-set-variable warnings 2022-01-27 09:24:53 -05:00
mntfs mntfs: lock mntfs pseudo devfs vnode properly 2021-11-19 06:25:28 +02:00
msdosfs ufs, msdosfs: do not record witness order when creating vnode 2022-02-07 11:38:50 +02:00
nfs nfsclient: Delete unused function nfscl_getcookie() 2022-02-09 19:39:00 -08:00
nfsclient nfsclient: Delete unused function nfscl_getcookie() 2022-02-09 19:39:00 -08:00
nfsserver nfsd: Reply NFSERR_SEQMISORDERED for bogus seqid argument 2022-02-15 17:02:28 -08:00
nullfs null_vput_pair(): release use reference on dvp earlier 2021-08-14 13:21:59 +03:00
procfs procfs_doprocfile(): simplify 2021-11-06 04:12:32 +02:00
pseudofs pseudofs: use vget_prep + vget_finish instead of vget + the interlock 2021-05-22 18:22:35 +00:00
smbfs Ensure that dirent's d_off field is initialized 2021-01-03 11:50:31 -05:00
tmpfs tmpfs: remove write-only variables 2021-10-27 03:24:40 +03:00
udf Make MAXPHYS tunable. Bump MAXPHYS to 1M. 2020-11-28 12:12:51 +00:00
unionfs unionfs: do not use bare struct componentname 2021-07-07 13:23:30 +03:00