Messages in this thread Patch in this message | | | Date | Sun, 11 May 2008 22:01:29 +0200 | From | Marcin Slusarz <> | Subject | [RFC] [PATCH] 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 --- it's probably a typo, but I'm not sure please check if it's the right fix (maybe this condition should be dropped?) (compile tested only) --- fs/dlm/lowcomms.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/dlm/lowcomms.c b/fs/dlm/lowcomms.c --- a/fs/dlm/lowcomms.c +++ b/fs/dlm/lowcomms.c @@ -930,7 +930,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; --
| |