]> 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)
commit4d5a7c2af617990ff51aa17b66bd31a380f8d215
tree9789e9f922284855e1254f21fb84b6d1f8e95b09
parentf6671df3c4fdc18d4f1b30cd746b13d94de9bcc6
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