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)
commit88b5ed73bcd0f21e008b6e303a02c8b7cb1199f4
treeefe474f18f8c175b3bfc04f31e8723ed376cc804
parent3fe0344faf7fdcb158bd5c1a9aec960a8d70c8e8
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