NFSv4.2: Don't error when exiting early on a READ_PLUS buffer overflow
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 8 Dec 2020 12:51:29 +0000 (07:51 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 14 Dec 2020 11:51:08 +0000 (06:51 -0500)
commit503b934a752f7e789a5f33217520e0a79f3096ac
treee7d5ee241d2ef4c7b9c86381f6a293ad35bda0d4
parentdac3b1059b499c570f02cd94f3172d8c8df3a9dd
NFSv4.2: Don't error when exiting early on a READ_PLUS buffer overflow

Expanding the READ_PLUS extents can cause the read buffer to overflow.
If it does, then don't error, but just exit early.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/nfs42xdr.c