mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-04 01:49:36 +00:00
dlm: clear correct init bit during sctp setup
We were clearing the base con's init pending flags, but the con for the node was the one with the pending bit set. Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: David Teigland <teigland@redhat.com>
This commit is contained in:
parent
a2648ebb7e
commit
efad7e6b1a
1 changed files with 1 additions and 1 deletions
|
@ -664,7 +664,7 @@ static void process_sctp_notification(struct connection *con,
|
|||
|
||||
/* Send any pending writes */
|
||||
clear_bit(CF_CONNECT_PENDING, &new_con->flags);
|
||||
clear_bit(CF_INIT_PENDING, &con->flags);
|
||||
clear_bit(CF_INIT_PENDING, &new_con->flags);
|
||||
if (!test_and_set_bit(CF_WRITE_PENDING, &new_con->flags)) {
|
||||
queue_work(send_workqueue, &new_con->swork);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue