NFSv4: Revert commit 5f83d86cf531d ("NFSv4.x: Fix wraparound issues..")
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 9 Jun 2018 16:43:06 +0000 (12:43 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 9 Jun 2018 16:56:30 +0000 (12:56 -0400)
commitfc40724fc6731d90cc7fb6d62d66135f85a33dd2
tree791a9c413993091ee07d589e43659ab284c19ae0
parentce5624f7e6675ae0425f0041bbad703ea41c784c
NFSv4: Revert commit 5f83d86cf531d ("NFSv4.x: Fix wraparound issues..")

The correct behaviour for NFSv4 sequence IDs is to wrap around
to the value 0 after 0xffffffff.
See https://tools.ietf.org/html/rfc5661#section-2.10.6.1

Fixes: 5f83d86cf531d ("NFSv4.x: Fix wraparound issues when validing...")
Cc: stable@vger.kernel.org # 4.6+
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/callback_proc.c