[Cluster-devel] [PATCH 2/6] dlm: set sctp assoc id during setup

michaelc at cs.wisc.edu michaelc at cs.wisc.edu
Fri Jun 14 09:56:10 UTC 2013


From: Mike Christie <michaelc at cs.wisc.edu>

sctp_assoc was not getting set so later lookups failed.

Signed-off-by: Mike Christie <michaelc at cs.wisc.edu>
---
 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 efbe7af..1536599 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);
-- 
1.7.1




More information about the Cluster-devel mailing list