summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/clnt.c
diff options
context:
space:
mode:
authorTrond Myklebust <trondmy@gmail.com>2019-09-12 08:04:25 -0400
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2019-09-17 15:14:11 -0400
commit45835a63d039fc3bfb1d6c72cedaf785cd920e4a (patch)
treebe8f5a4aef9c6f1e775e3a3676d0b29de47b2dc5 /net/sunrpc/clnt.c
parentcc204d01262a69218b2d0db5cdea371de85871d9 (diff)
downloadlinux-45835a63d039fc3bfb1d6c72cedaf785cd920e4a.tar.bz2
SUNRPC: Don't receive TCP data into a request buffer that has been reset
If we've removed the request from the receive list, and have added it back after resetting the request receive buffer, then we should only receive message data if it is a new reply (i.e. if transport->recv.copied is zero). Fixes: 277e4ab7d530b ("SUNRPC: Simplify TCP receive code by switching...") Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/sunrpc/clnt.c')
0 files changed, 0 insertions, 0 deletions