]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit99bfee1464ba389617c9a897f1234c240df69788
tree51babcbf00d649f71eea4e17e0f1b336e314ac5b
parent8765c3a2c04d10a17a446ef000ecdbb5d4a20539
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