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

SUNRPC: Fix a regression when reconnecting



If the task needs to give up the socket lock in order to allow a
reconnect to occur, then it must also clear the 'rq_bytes_sent' field
so that when it retransmits, it knows to start from the beginning.

Fixes: 718ba5b8 ("SUNRPC: Add helpers to prevent socket create from racing")
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
parent 09a330f4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment