SUNRPC: Ensure rq_bytes_sent is reset before request transmission
authorTrond Myklebust <trondmy@gmail.com>
Wed, 2 Jan 2019 22:53:10 +0000 (17:53 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 15 Jan 2019 20:28:18 +0000 (15:28 -0500)
commite66721f0436396f779291a29616858b76bfd9415
tree51babcbf00d649f71eea4e17e0f1b336e314ac5b
parent45ac486ecf2dc998e25cf32f0cabf2deaad875be
SUNRPC: Ensure rq_bytes_sent is reset before request transmission

When we resend a request, ensure that the 'rq_bytes_sent' is reset
to zero.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/clnt.c
net/sunrpc/xprt.c