mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 05:41:55 +00:00
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
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user