diff options
author | Trond Myklebust <trondmy@gmail.com> | 2019-09-16 16:12:19 +0300 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2019-09-20 22:15:24 +0300 |
commit | 9ba828861c56a21d211d5d10f5643774b1ea330d (patch) | |
tree | 45468b00aca4baedcad2cbbd9c6ed5fba9c0bd21 /net/sunrpc/xprt.c | |
parent | f925ab926d1a9c2112d34ecb59fbb050bb58646c (diff) | |
download | linux-9ba828861c56a21d211d5d10f5643774b1ea330d.tar.xz |
SUNRPC: Don't try to parse incomplete RPC messages
If the copy of the RPC reply into our buffers did not complete, and
we could end up with a truncated message. In that case, just resend
the call.
Fixes: a0584ee9aed80 ("SUNRPC: Use struct xdr_stream when decoding...")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/sunrpc/xprt.c')
0 files changed, 0 insertions, 0 deletions