commit | cc204d01262a69218b2d0db5cdea371de85871d9 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trondmy@gmail.com> | Tue Sep 10 13:01:35 2019 -0400 |
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | Tue Sep 17 15:14:11 2019 -0400 |
tree | 7f77b71e876ff7e2007c45be58e29a28f2633ccb | |
parent | 98ef77d1aaa7a2f4e1b2a721faa084222021fda7 [diff] |
SUNRPC: Dequeue the request from the receive queue while we're re-encoding Ensure that we dequeue the request from the transport receive queue while we're re-encoding to prevent issues like use-after-free when we release the bvec. Fixes: 7536908982047 ("SUNRPC: Ensure the bvecs are reset when we re-encode...") Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Cc: stable@vger.kernel.org # v4.20+ Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>