diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2013-06-14 11:56:10 +0200 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2013-06-14 20:07:10 +0200 |
commit | e1631d0c48ca5ba9878f5923ffe58ef6fd2d5fda (patch) | |
tree | 649623c07f5961e33d9ddbcedc32e7179c23bcef | |
parent | dlm: clear correct init bit during sctp setup (diff) | |
download | linux-e1631d0c48ca5ba9878f5923ffe58ef6fd2d5fda.tar.xz linux-e1631d0c48ca5ba9878f5923ffe58ef6fd2d5fda.zip |
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>
-rw-r--r-- | fs/dlm/lowcomms.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/dlm/lowcomms.c b/fs/dlm/lowcomms.c index efbe7af42002..1536599fde8c 100644 --- a/fs/dlm/lowcomms.c +++ b/fs/dlm/lowcomms.c @@ -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); |