Skip to content
Commit 17814819 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

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: default avatarBenjamin Coddington <bcodding@redhat.com>
Fixes: 72691a26 ("SUNRPC: Don't reuse bvec on retransmission of the request")
Tested-by: default avatarBenjamin Coddington <bcodding@redhat.com>
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent ed06fce0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment