Joshua Watt
06ab1272b5
NFS4: Fix state renewals missing after boot
...
[ Upstream commit 9bb3baa9d1604cd20f49ae7dac9306b4037a0e7a ]
Since the last renewal time was initialized to 0 and jiffies start
counting at -5 minutes, any clients connected in the first 5 minutes
after a reboot would have their renewal timer set to a very long
interval. If the connection was idle, this would result in the client
state timing out on the server and the next call to the server would
return NFS4ERR_BADSESSION.
Fix this by initializing the last renewal time to the current jiffies
instead of 0.
Signed-off-by: Joshua Watt <[email protected] >
Signed-off-by: Anna Schumaker <[email protected] >
Signed-off-by: Sasha Levin <[email protected] >
2025-12-03 12:45:16 +01:00
..
blocklayout
pNFS: Fix uninited ptr deref in block/scsi layout
2025-08-28 16:21:29 +02:00
filelayout
nfs: don't share pNFS DS connections between net namespaces
2025-06-04 14:32:37 +02:00
flexfilelayout
NFSv4/flexfiles: Fix handling of NFS level errors in I/O
2025-07-17 18:25:04 +02:00
cache_lib.c
cache_lib.h
callback.c
callback.h
callback_proc.c
NFSv4/pnfs: pnfs_set_layout_stateid() should update the layout cred
2025-06-04 14:32:29 +02:00
callback_xdr.c
SUNRPC: Fix integer overflow in decode_rc_list()
2024-11-08 16:20:45 +01:00
client.c
NFS: Fix the setting of capabilities when automounting a new filesystem
2025-08-28 16:21:34 +02:00
delegation.c
delegation.h
dir.c
direct.c
nfs: fix UAF in direct writes
2025-08-28 16:21:37 +02:00
dns_resolve.c
dns_resolve.h
export.c
NFS: Fix filehandle bounds checking in nfs_fh_to_dentry()
2025-08-28 16:21:22 +02:00
file.c
fscache-index.c
fscache.c
fscache.h
getroot.c
inode.c
NFS: Fix up handling of outstanding layoutcommit in nfs_update_inode()
2025-08-28 16:21:34 +02:00
internal.h
NFS: Fix the setting of capabilities when automounting a new filesystem
2025-08-28 16:21:34 +02:00
io.c
iostat.h
Kconfig
nfs: add missing selections of CONFIG_CRC32
2025-05-02 07:39:20 +02:00
Makefile
mount_clnt.c
namespace.c
netns.h
nfs: make the rpc_stat per net namespace
2024-05-17 11:43:48 +02:00
nfs.h
nfs2super.c
nfs2xdr.c
NFS: Guard against READDIR loop when entry names exceed MAXNAMELEN
2023-09-23 10:59:48 +02:00
nfs3_fs.h
nfs3acl.c
nfs3client.c
nfs3proc.c
nfs3super.c
nfs3xdr.c
NFS: Guard against READDIR loop when entry names exceed MAXNAMELEN
2023-09-23 10:59:48 +02:00
nfs4_fs.h
nfs4client.c
NFS4: Fix state renewals missing after boot
2025-12-03 12:45:16 +01:00
nfs4file.c
nfs4getroot.c
nfs4idmap.c
nfs4idmap.h
nfs4namespace.c
nfs4proc.c
nfs4_setup_readdir(): insufficient locking for ->d_parent->d_inode dereferencing
2025-12-03 12:45:13 +01:00
nfs4renewd.c
nfs4session.c
nfs4session.h
nfs: add missing selections of CONFIG_CRC32
2025-05-02 07:39:20 +02:00
nfs4state.c
NFSv4.1: fix mount hang after CREATE_SESSION failure
2025-12-03 12:45:13 +01:00
nfs4super.c
nfs4sysctl.c
nfs4trace.c
nfs4trace.h
NFS4: Trace state recovery operation
2023-10-10 21:46:44 +02:00
nfs4xdr.c
NFSv4.2: Fix a memory stomp in decode_attr_security_label
2023-01-18 11:41:07 +01:00
nfs42.h
nfs42proc.c
nfs42xdr.c
nfsroot.c
NFS: Fix an off by one in root_nfs_cat()
2024-03-26 18:22:24 -04:00
nfstrace.c
nfstrace.h
pagelist.c
pnfs.c
pNFS: Handle RPC size limit for layoutcommits
2025-08-28 16:21:29 +02:00
pnfs.h
nfs: don't share pNFS DS connections between net namespaces
2025-06-04 14:32:37 +02:00
pnfs_dev.c
NFSv4/pnfs: minor fix for cleanup path in nfs4_get_device_info
2023-09-23 10:59:57 +02:00
pnfs_nfs.c
nfs: don't share pNFS DS connections between net namespaces
2025-06-04 14:32:37 +02:00
proc.c
read.c
nfs: Leave pages in the pagecache if readpage failed
2024-07-05 09:08:32 +02:00
super.c
NFSv4: Add missing rescheduling points in nfs_client_return_marked_delegations
2024-09-12 11:03:55 +02:00
symlink.c
sysctl.c
sysfs.c
sysfs.h
unlink.c
write.c
nfs: fix UAF in direct writes
2025-08-28 16:21:37 +02:00