diff --git a/net/sctp/sm_make_chunk.c b/net/sctp/sm_make_chunk.c index 9e73291..22a30ac 100644 --- a/net/sctp/sm_make_chunk.c +++ b/net/sctp/sm_make_chunk.c @@ -228,6 +228,8 @@ struct sctp_chunk *sctp_make_init(const struct sctp_association *asoc, chunksize += sizeof(aiparam); chunksize += vparam_len; + + printk("DEBUG: INIT size prior to Auth %zd\n", chunksize); /* Account for AUTH related parameters */ if (sctp_auth_enable) { @@ -256,6 +258,9 @@ struct sctp_chunk *sctp_make_init(const struct sctp_association *asoc, if (num_ext) chunksize += sizeof(sctp_supported_ext_param_t) + num_ext; + printk("DEBUG: INIT size after AUTH and extensions(%d) %zd", + num_ext, chunksize); + /* RFC 2960 3.3.2 Initiation (INIT) (1) * * Note 3: An INIT chunk MUST NOT contain more than one Host