freebsd-dev/sys
Rick Macklem 8932a4835f Fix the eir_server_scope reply argument for NFSv4.1 ExchangeID.
In the reply to an ExchangeID operation, the NFSv4.1 server returns a
"scope" value (eir_server_scope). If this value is the same, it indicates
that two servers share state, which is never the case for FreeBSD servers.
As such, the value needs to be unique and it was without this patch.
However, I just found out that it is not supposed to change when the
server reboots and without this patch, it did change.
This patch fixes eir_server_scope so that it does not change when the
server is rebooted.
The only affect not having this patch has is that Linux clients don't
reclaim opens and locks after a server reboot, which meant they lost
any byte range locks held before the server rebooted.
It only affects NFSv4.1 mounts and the FreeBSD NFSv4.1 client was not
affected by this bug.

MFC after:	1 week
2018-05-13 23:38:01 +00:00
..
amd64 Make fpusave() and fpurestore() on amd64 ifuncs. 2018-05-10 15:01:43 +00:00
arm aw_mmc: Rework regulator handling 2018-05-12 13:14:01 +00:00
arm64 arm64: Add ALT_BREAK_TO_DEBUGGER to GENERIC 2018-05-10 09:37:50 +00:00
bsm
cam Fix build for platforms using GCC: 2018-05-10 17:22:04 +00:00
cddl DTrace aarch64: Avoid calling unwind_frame() in the probe context. 2018-05-12 15:35:26 +00:00
compat Remove "All rights reserved" from my files. 2018-05-09 20:57:18 +00:00
conf iflib(9): Add support for cloning pseudo interfaces 2018-05-11 20:08:28 +00:00
contrib Apply fixes in ena-com 2018-05-10 09:25:51 +00:00
crypto opencrypto: Integrate Chacha20 algorithm into OCF 2018-03-29 04:02:50 +00:00
ddb Fix PPC symbol resolution 2018-05-10 03:59:48 +00:00
dev hwpmc/epoch - don't reference domain if NUMA is not set 2018-05-12 20:00:29 +00:00
dts arm: overlays: Update to new path-based sugar format 2018-05-04 14:38:48 +00:00
fs Fix the eir_server_scope reply argument for NFSv4.1 ExchangeID. 2018-05-13 23:38:01 +00:00
gdb amd64: Protect the kernel text, data, and BSS by setting the RW/NX bits 2018-03-06 14:28:37 +00:00
geom Introduce the 'n' flag for the geli attach command. 2018-05-09 20:53:38 +00:00
gnu gnu/dts: Update our copy of arm dts from Linux 4.16 2018-04-20 19:37:08 +00:00
i386 Fix PMC_IN_TRAP_HANDLER() for i386 after the 4/4 split. 2018-05-13 20:10:02 +00:00
isa Revert r330780, it was improperly tested and results in taking a spin 2018-03-11 20:13:15 +00:00
kern epoch(9): cleanups, additional debug checks, and add global_epoch 2018-05-13 23:24:48 +00:00
kgssapi kgssapi: Remove trivial deadcode 2018-02-14 00:12:03 +00:00
libkern Remove "All rights reserved" from my files. 2018-05-10 06:41:08 +00:00
mips Print the dump progress indicator after calling dump_start(). 2018-05-01 17:32:43 +00:00
modules Add simple preempt safe epoch API 2018-05-10 17:55:24 +00:00
net iflib(9): Add support for cloning pseudo interfaces 2018-05-11 20:08:28 +00:00
net80211 Use an accessor function to access ifr_data. 2018-03-30 18:50:13 +00:00
netgraph Correct pseudo misspelling in sys/ comments 2018-02-23 18:15:50 +00:00
netinet Fix LORs in in6?_leave_group() 2018-05-11 21:42:27 +00:00
netinet6 Fix LORs in in6?_leave_group() 2018-05-11 21:42:27 +00:00
netipsec Merge r1.22-1.23 from NetBSD: 2018-04-26 12:23:31 +00:00
netpfil Bring in some last changes in NAT64 implementation: 2018-05-09 11:59:24 +00:00
netsmb Eliminate the overhead of gratuitous repeated reinitialization of cap_rights 2018-05-09 18:47:24 +00:00
nfs Remove support for FDDI networks. 2018-04-11 17:28:24 +00:00
nfsclient style: Remove remaining deprecated MALLOC/FREE macros 2018-01-25 22:25:13 +00:00
nfsserver
nlm Use syscall_helper_register() to register syscalls and initialize though 2018-02-10 01:09:22 +00:00
ofed Improve copy-and-pasted versions of SIOCGIFADDR. 2018-03-27 20:51:49 +00:00
opencrypto cryptosoft: Do not exceed crd_len around *crypt_multi 2018-04-19 15:24:21 +00:00
powerpc No need to bzero splpar_vpa entries 2018-05-11 02:04:01 +00:00
riscv Remove extra copy of bcopy.c now that we're using the libkern version 2018-05-12 01:43:32 +00:00
rpc
security Use an accessor function to access ifr_data. 2018-03-30 18:50:13 +00:00
sparc64 Report TRAP_BRKPT for breakpoint traps on sparc64. 2018-05-09 15:25:26 +00:00
sys epoch(9): cleanups, additional debug checks, and add global_epoch 2018-05-13 23:24:48 +00:00
teken Pedantic polishing of code to please FlexeLint. 2018-04-08 19:23:50 +00:00
tests Test priority handling in epoch test. 2018-05-11 04:47:05 +00:00
tools Add dtb overlays support 2018-03-24 21:30:24 +00:00
ufs Detect and optimize reads from the hole on UFS. 2018-05-13 09:47:28 +00:00
vm Get rid of vm_pageout_page_queued(). 2018-05-13 13:00:59 +00:00
x86 Put the CPU starting on one line. 2018-05-07 21:09:21 +00:00
xdr
xen xen: fix gntdev 2018-05-02 10:19:17 +00:00
Makefile