1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00
freebsd/sys
Rick Macklem 4281bfec36 nfsd: fix session slot handling for failed callbacks
When the NFSv4.1/4.2 server does a callback to a client
on the back channel, it will use a session slot in the
back channel session. If the back channel has failed,
the callback will fail and, without this patch, the
session slot will not be released.
As more callbacks are attempted, all session slots
can become busy and then the nfsd thread gets stuck
waiting for a back channel session slot.

This patch frees the session slot upon callback
failure to avoid this problem.

Without this patch, the problem can be avoided by leaving
delegations disabled in the NFS server.

MFC after:	2 weeks
2021-04-23 15:24:47 -07:00
..
amd64 AMD-vi: Fortify IVHD device_identify process 2021-04-19 16:08:13 +08:00
arm arm: Add no-cftconvert for sdma-imx6 files 2021-04-14 15:43:37 +02:00
arm64 arm64: adjust comments in dbg_monitor_exit() 2021-04-13 14:41:31 -03:00
bsm
cam cam: make sure to clear even more CCBs allocated on the stack 2021-04-11 15:24:22 +01:00
cddl fbt: Remove some handling for multiple CTF containers 2021-04-02 17:49:13 -04:00
compat linuxkpi: reduce number of stray mm_struct allocations 2021-04-19 21:34:08 +03:00
conf newvers.sh: better regexp for the FreeBSD_version line 2021-04-22 11:45:12 -06:00
contrib zfs: use vn_seqc_read_notmodify for racing .. lookups 2021-04-22 13:18:39 +00:00
crypto
ddb
dev cxgbe(4): hw.cxgbe.panic_on_fatal_err can be changed any time. 2021-04-23 12:17:54 -07:00
dts
fs nfsd: fix session slot handling for failed callbacks 2021-04-23 15:24:47 -07:00
gdb
geom
gnu
i386 Create VM_MEMATTR_DEVICE on all architectures 2021-04-12 06:15:31 +00:00
isa Remove more remnants of sio(4) 2021-04-07 14:33:02 -04:00
kern Re-enable network ioctls in capability mode 2021-04-23 09:22:49 -04:00
kgssapi
libkern x86: remove gcov kernel support 2021-04-02 15:41:51 +03:00
mips OCF: Remove support for asymmetric cryptographic operations. 2021-04-12 14:28:43 -07:00
modules modules: remove stale if_wg reference 2021-04-15 19:59:13 -05:00
net Re-enable network ioctls in capability mode 2021-04-23 09:22:49 -04:00
net80211
netgraph ng_ubt: Block attachment of uninitialized Intel Wireless 7265 2021-04-15 17:26:32 +03:00
netinet Re-enable network ioctls in capability mode 2021-04-23 09:22:49 -04:00
netinet6 Re-enable network ioctls in capability mode 2021-04-23 09:22:49 -04:00
netipsec
netpfil Add required checks for unmapped mbufs in ipdivert and ipfw 2021-04-21 15:47:05 -04:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto OCF: Remove support for asymmetric cryptographic operations. 2021-04-12 14:28:43 -07:00
powerpc opal_console: fix serial console output corruption on powerpc64 2021-04-16 20:10:09 -03:00
riscv riscv: Assert that SUM is not set in SSTATUS for exceptions. 2021-04-21 13:57:20 -07:00
rpc nfsv4 client: do the BindConnectionToSession as required 2021-04-11 14:34:57 -07:00
security tcp_input/syncache: acquire only read lock on PCB for SYN,!ACK packets 2021-04-12 08:25:31 -07:00
sys __FreeBSD_version: update the references to the doc tree 2021-04-22 17:36:22 +08:00
teken
tests
tools
ufs b_vflags update requries bufobj lock 2021-04-15 15:47:42 +03:00
vm sysctl vm.objects: report backing object and swap use 2021-04-19 21:32:01 +03:00
x86 amd64: Add MD bits for KASAN 2021-04-13 17:42:20 -04:00
xdr
xen
Makefile