]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Don't set the request connect_cookie until a successful transmit
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 25 Sep 2013 15:31:54 +0000 (11:31 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 1 Oct 2013 22:22:10 +0000 (18:22 -0400)
commitae41cbeea24eb54a1cd90cf53c6ba15861473c6b
tree9789e9f922284855e1254f21fb84b6d1f8e95b09
parentb7317e3941ecd3dd953df111c157b242160ea9b2
SUNRPC: Don't set the request connect_cookie until a successful transmit

We're using the request connect_cookie to track whether or not a
request was successfully transmitted on the current transport
connection or not. For that reason we should ensure that it is
only set after we've successfully transmitted the request.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/xprt.c