提交 0035a4b1 编写于 作者: M Marcin Slusarz 提交者: David Teigland

dlm: tcp_connect_to_sock should check for -EINVAL, not EINVAL

Signed-off-by: NMarcin 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: NDavid Teigland <teigland@redhat.com>
上级 88ad2319
...@@ -931,7 +931,7 @@ static void tcp_connect_to_sock(struct connection *con) ...@@ -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. * errors we try again until the max number of retries is reached.
*/ */
if (result != -EHOSTUNREACH && result != -ENETUNREACH && if (result != -EHOSTUNREACH && result != -ENETUNREACH &&
result != -ENETDOWN && result != EINVAL result != -ENETDOWN && result != -EINVAL
&& result != -EPROTONOSUPPORT) { && result != -EPROTONOSUPPORT) {
lowcomms_connect_sock(con); lowcomms_connect_sock(con);
result = 0; result = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册