]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Fix a missing "break" option in xs_tcp_setup_socket()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 17 Jun 2009 20:22:57 +0000 (13:22 -0700)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 17 Jun 2009 20:22:57 +0000 (13:22 -0700)
commitdbe079dfb2ede269ad9542632f1610de71fcbc93
treeefe474f18f8c175b3bfc04f31e8723ed376cc804
parent385ec76c027ba9937701aebf3a7eb36a81b12d18
SUNRPC: Fix a missing "break" option in xs_tcp_setup_socket()

In the case of -EADDRNOTAVAIL and/or unhandled connection errors, we want
to get rid of the existing socket and retry immediately, just as the
comment says. Currently we end up sleeping for a minute, due to the missing
"break" statement.

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