SUNRPC: call_connect_status should recheck bind and connect status on error
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 26 Sep 2013 19:22:45 +0000 (15:22 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 1 Oct 2013 22:22:12 +0000 (18:22 -0400)
commit561ec1603171cd9b38dcf6cac53e8710f437a48d
treeecb67db63fee0218833abbfaf21f0778ec743112
parent92551948174d079b12541437f51cbe3e17d9dd24
SUNRPC: call_connect_status should recheck bind and connect status on error

Currently, we go directly to call_transmit which sends us to call_status
on error. If we know that the connect attempt failed, we should rather
just jump straight back to call_bind and call_connect.

Ditto for EAGAIN, except do not delay.

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