summaryrefslogtreecommitdiffstats
path: root/fs/dlm
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2013-06-14 04:56:10 -0500
committerDavid Teigland <teigland@redhat.com>2013-06-14 13:07:10 -0500
commite1631d0c48ca5ba9878f5923ffe58ef6fd2d5fda (patch)
tree649623c07f5961e33d9ddbcedc32e7179c23bcef /fs/dlm
parentefad7e6b1a28be599836c8f15ec04f99a98fb04c (diff)
downloadtalos-op-linux-e1631d0c48ca5ba9878f5923ffe58ef6fd2d5fda.tar.gz
talos-op-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>
Diffstat (limited to 'fs/dlm')
-rw-r--r--fs/dlm/lowcomms.c1
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);
OpenPOWER on IntegriCloud