diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2022-08-31 17:28:13 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2022-09-01 10:40:37 -0400 |
commit | 17814819ac9829a437e06fbb5c7056a1f4f893da (patch) | |
tree | 5943e21a6aea0ec1fb55cd9fc21dbd287f7d7161 /fs/ksmbd | |
parent | ed06fce0b034b2e25bd93430f5c4cbb28036cc1a (diff) |
SUNRPC: Fix call completion races with call_decode()
We need to make sure that the req->rq_private_buf is completely up to
date before we make req->rq_reply_bytes_recvd visible to the
call_decode() routine in order to avoid triggering the WARN_ON().
Reported-by: Benjamin Coddington <bcodding@redhat.com>
Fixes: 72691a269f0b ("SUNRPC: Don't reuse bvec on retransmission of the request")
Tested-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/ksmbd')
0 files changed, 0 insertions, 0 deletions