diff options
author | Rick Macklem <rmacklem@FreeBSD.org> | 2024-04-26 03:58:21 +0000 |
---|---|---|
committer | Rick Macklem <rmacklem@FreeBSD.org> | 2024-04-26 03:58:21 +0000 |
commit | 6251027c4252edb3b8f8fc359a40e610349e9af3 (patch) | |
tree | 765ad5b6e16dd0a421e88932796a8729a3b10b69 /libexec/smrsh | |
parent | f0e59ecff85d4b9e875464199e065a269c9c2530 (diff) | |
download | src-main.tar.gz src-main.zip |
When an initial attempt to close an NFSv4 lock returns NFSERR_DELAY,
the open structure is put on a list for delayed closing. When this
is done, the nfso_own field is set to NULL, so it cannot be used by
nfsrpc_doclose().
Without this patch, the NFSv4 client can crash when a NFSv4 server
replies NFSERR_DELAY to a Close operation. Fortunately, most extant
NFSv4 servers do not do this. This patch avoids the crash for any
that do return NFSERR_DELAY for Close.
Found during a IETF bakeathon testing event this week.
MFC after: 5 days
Diffstat (limited to 'libexec/smrsh')
0 files changed, 0 insertions, 0 deletions