aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/tipc/net.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2025-10-16 09:49:55 -0400
committerChuck Lever <chuck.lever@oracle.com>2025-11-10 09:31:52 -0500
commitff8141e49cf70d2d093a5228f5299ce188de6142 (patch)
tree860b8abe6237af0aa586b21bcfdbe35e7997630e /net/tipc/net.c
parentNFSD: free copynotify stateid in nfs4_free_ol_stateid() (diff)
downloadwireguard-linux-ff8141e49cf70d2d093a5228f5299ce188de6142.tar.xz
wireguard-linux-ff8141e49cf70d2d093a5228f5299ce188de6142.zip
NFSD: Skip close replay processing if XDR encoding fails
The replay logic added by commit 9411b1d4c7df ("nfsd4: cleanup handling of nfsv4.0 closed stateid's") cannot be done if encoding failed due to a short send buffer; there's no guarantee that the operation encoder has actually encoded the data that is being copied to the replay cache. Reported-by: rtm@csail.mit.edu Closes: https://lore.kernel.org/linux-nfs/c3628d57-94ae-48cf-8c9e-49087a28cec9@oracle.com/T/#t Fixes: 9411b1d4c7df ("nfsd4: cleanup handling of nfsv4.0 closed stateid's") Reviewed-by: Jeff Layton <jlayton@kernel.org> Reviewed-by: NeilBrown <neil@brown.name> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'net/tipc/net.c')
0 files changed, 0 insertions, 0 deletions