mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-20 14:16:02 +00:00
dlm: fix not reconnecting on connecting error handling
If we don't clear that bit, lowcomms_connect_sock() will not schedule another attempt, and no further attempt will be done. Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Signed-off-by: David Teigland <teigland@redhat.com>
This commit is contained in:
parent
0d737a8cfd
commit
356344c4c3
1 changed files with 1 additions and 0 deletions
|
@ -1253,6 +1253,7 @@ static void tcp_connect_to_sock(struct connection *con)
|
|||
con->retries, result);
|
||||
mutex_unlock(&con->sock_mutex);
|
||||
msleep(1000);
|
||||
clear_bit(CF_CONNECT_PENDING, &con->flags);
|
||||
lowcomms_connect_sock(con);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue