Skip to content

Commit

Permalink
dlm: set sctp assoc id during setup
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mike Christie authored and David Teigland committed Jun 14, 2013
1 parent efad7e6 commit e1631d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/dlm/lowcomms.c
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,7 @@ static void process_sctp_notification(struct connection *con,
log_print("connecting to %d sctp association %d",
nodeid, (int)sn->sn_assoc_change.sac_assoc_id);

new_con->sctp_assoc = sn->sn_assoc_change.sac_assoc_id;
/* Send any pending writes */
clear_bit(CF_CONNECT_PENDING, &new_con->flags);
clear_bit(CF_INIT_PENDING, &new_con->flags);
Expand Down

0 comments on commit e1631d0

Please sign in to comment.