summaryrefslogtreecommitdiff
path: root/fs/nfs/inode.c
diff options
context:
space:
mode:
authorOlga Kornievskaia <kolga@netapp.com>2023-06-18 17:32:25 -0400
committerTrond Myklebust <trond.myklebust@hammerspace.com>2023-06-19 15:10:57 -0400
commitc907e72f58ed979a24a9fdcadfbc447c51d5e509 (patch)
tree4a5003b55cbd2a0e3a7d30c0dd589b5359f5cdb0 /fs/nfs/inode.c
parent7f7ab336898f281e58540ef781a8fb375acc32a9 (diff)
NFSv4.1: freeze the session table upon receiving NFS4ERR_BADSESSION
When the client received NFS4ERR_BADSESSION, it schedules recovery and start the state manager thread which in turn freezes the session table and does not allow for any new requests to use the no-longer valid session. However, it is possible that before the state manager thread runs, a new operation would use the released slot that received BADSESSION and was therefore not updated its sequence number. Such re-use of the slot can lead the application errors. Fixes: 5c441544f045 ("NFSv4.x: Handle bad/dead sessions correctly in nfs41_sequence_process()") Signed-off-by: Olga Kornievskaia <kolga@netapp.com> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/inode.c')
0 files changed, 0 insertions, 0 deletions