dlm: tcp_connect_to_sock should check for -EINVAL, not EINVAL
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Cc: Christine Caulfield <ccaulfie@redhat.com> Cc: David Teigland <teigland@redhat.com> Cc: cluster-devel@redhat.com Signed-off-by: David Teigland <teigland@redhat.com>
This commit is contained in:
parent
88ad23195e
commit
0035a4b149
1 changed files with 1 additions and 1 deletions
|
@ -931,7 +931,7 @@ static void tcp_connect_to_sock(struct connection *con)
|
|||
* errors we try again until the max number of retries is reached.
|
||||
*/
|
||||
if (result != -EHOSTUNREACH && result != -ENETUNREACH &&
|
||||
result != -ENETDOWN && result != EINVAL
|
||||
result != -ENETDOWN && result != -EINVAL
|
||||
&& result != -EPROTONOSUPPORT) {
|
||||
lowcomms_connect_sock(con);
|
||||
result = 0;
|
||||
|
|
Loading…
Reference in a new issue