diff options
author | Trond Myklebust <trondmy@gmail.com> | 2019-09-12 08:04:25 -0400 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2019-09-17 15:14:11 -0400 |
commit | 45835a63d039fc3bfb1d6c72cedaf785cd920e4a (patch) | |
tree | be8f5a4aef9c6f1e775e3a3676d0b29de47b2dc5 /init | |
parent | cc204d01262a69218b2d0db5cdea371de85871d9 (diff) | |
download | linux-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 'init')
0 files changed, 0 insertions, 0 deletions