diff options
author | Marcin Slusarz <marcin.slusarz@gmail.com> | 2008-05-11 22:01:29 +0200 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2008-05-19 15:37:27 -0500 |
commit | 0035a4b14931eb62a5f8a7762284c18e7ab14289 (patch) | |
tree | 460232289d1c47eeacdcdf14d29c8763c2fca39f /fs/dlm | |
parent | 88ad23195e4609cef73b6fcf2b4c08aaaef33204 (diff) | |
download | lwn-0035a4b14931eb62a5f8a7762284c18e7ab14289.tar.gz lwn-0035a4b14931eb62a5f8a7762284c18e7ab14289.zip |
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>
Diffstat (limited to 'fs/dlm')
-rw-r--r-- | fs/dlm/lowcomms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dlm/lowcomms.c b/fs/dlm/lowcomms.c index c7d232a9ae12..637018c891ef 100644 --- a/fs/dlm/lowcomms.c +++ b/fs/dlm/lowcomms.c @@ -931,7 +931,7 @@ out_err: * 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; |