SUNRPC: Fix a regression when reconnecting
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 23 Mar 2015 20:10:00 +0000 (16:10 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 27 Mar 2015 16:24:36 +0000 (12:24 -0400)
commit0695314ef0920b745423510f1e96bf60415a404a
tree5a226e4308ff50a130f16c3365ba5e06d7ce6b5b
parent09a330f4b9324e40947cc4fff13606719382c580
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: 718ba5b87343 ("SUNRPC: Add helpers to prevent socket create from racing")
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
net/sunrpc/xprt.c
This page took 0.026188 seconds and 5 git commands to generate.