mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 15:11:00 +07: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 @@ 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 New Issue
Block a user