SUNRPC: Handle zero length fragments correctly
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 15 Feb 2019 23:14:27 +0000 (18:14 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 20 Feb 2019 22:35:58 +0000 (17:35 -0500)
commite92053a52e68b841d1314ca04da7cbeb326ee1a0
tree799a6840f095d2e0fae643f5095df742db20a021
parentae0535515161d3a131f2acabb7b883e3f3d45235
SUNRPC: Handle zero length fragments correctly

A zero length fragment is really a bug, but let's ensure we don't
go nuts when one turns up.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
net/sunrpc/xprtsock.c