From: Marcin Slusarz Date: Sun, 11 May 2008 20:01:29 +0000 (+0200) Subject: dlm: tcp_connect_to_sock should check for -EINVAL, not EINVAL X-Git-Tag: v2.6.26-rc4~121^2~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=0035a4b14931eb62a5f8a7762284c18e7ab14289;p=linux-2.6-omap-h63xx.git dlm: tcp_connect_to_sock should check for -EINVAL, not EINVAL Signed-off-by: Marcin Slusarz Cc: Christine Caulfield Cc: David Teigland Cc: cluster-devel@redhat.com Signed-off-by: David Teigland --- diff --git a/fs/dlm/lowcomms.c b/fs/dlm/lowcomms.c index c7d232a9ae1..637018c891e 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;