diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2019-03-15 12:47:34 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2019-03-15 13:06:21 -0400 |
commit | 9734ad57b0f1a367fd3a00d717f97f8c00d9edb7 (patch) | |
tree | 2990623cbed5edec300f54d2e46184f7c95be2ca /net/sunrpc/clnt.c | |
parent | pNFS: Fix a typo in pnfs_update_layout (diff) | |
download | linux-dev-9734ad57b0f1a367fd3a00d717f97f8c00d9edb7.tar.xz linux-dev-9734ad57b0f1a367fd3a00d717f97f8c00d9edb7.zip |
SUNRPC: Fix a client regression when handling oversized replies
If the server sends a reply that is larger than the pre-allocated
buffer, then the current code may fail to register how much of
the stream that it has finished reading. This again can lead to
hangs.
Fixes: e92053a52e68 ("SUNRPC: Handle zero length fragments correctly")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'net/sunrpc/clnt.c')
0 files changed, 0 insertions, 0 deletions