diff options
author | Trond Myklebust <trondmy@gmail.com> | 2019-09-16 09:12:19 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-11 18:36:37 +0200 |
commit | 7d461a1934873c231cc8c5333a208584dca40100 (patch) | |
tree | 4d652bd6e632860be212c0bb165fd151ece5fae9 /net/lapb/lapb_timer.c | |
parent | 647d64dca599b25fa8982de75ff83a4b599ab897 (diff) |
SUNRPC: Don't try to parse incomplete RPC messages
[ Upstream commit 9ba828861c56a21d211d5d10f5643774b1ea330d ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions