Skip to content

Commit e1631d0

Browse files
Mike Christieteigland
authored andcommitted
dlm: set sctp assoc id during setup
sctp_assoc was not getting set so later lookups failed. Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: David Teigland <teigland@redhat.com>
1 parent efad7e6 commit e1631d0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎fs/dlm/lowcomms.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -662,6 +662,7 @@ static void process_sctp_notification(struct connection *con,
662662
log_print("connecting to %d sctp association %d",
663663
nodeid, (int)sn->sn_assoc_change.sac_assoc_id);
664664

665+
new_con->sctp_assoc = sn->sn_assoc_change.sac_assoc_id;
665666
/* Send any pending writes */
666667
clear_bit(CF_CONNECT_PENDING, &new_con->flags);
667668
clear_bit(CF_INIT_PENDING, &new_con->flags);

0 commit comments

Comments
 (0)