]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
NFSv4.1: Don't decrease the value of seq_nr_highest_sent
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 12 Jul 2022 13:16:04 +0000 (09:16 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Aug 2022 09:37:53 +0000 (11:37 +0200)
commita351a73d90641240d2de6b41682475edd9671bf3
tree3f10cf83246c9925d6c5814b9dce9e50adcc90ab
parenta408f135c4c2ba3948e1bbdbe5eff115f3d5d058
NFSv4.1: Don't decrease the value of seq_nr_highest_sent

commit f07a5d2427fc113dc50c5c818eba8929bc27b8ca upstream.

When we're trying to figure out what the server may or may not have seen
in terms of request numbers, do not assume that requests with a larger
number were missed, just because we saw a reply to a request with a
smaller number.

Fixes: 3453d5708b33 ("NFSv4.1: Avoid false retries when RPC calls are interrupted")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfs/nfs4proc.c