|
@@ -206,6 +206,8 @@ static inline int sctp_cacc_skip(struct sctp_transport *primary,
|
|
|
*/
|
|
|
void sctp_outq_init(struct sctp_association *asoc, struct sctp_outq *q)
|
|
|
{
|
|
|
+ memset(q, 0, sizeof(struct sctp_outq));
|
|
|
+
|
|
|
q->asoc = asoc;
|
|
|
INIT_LIST_HEAD(&q->out_chunk_list);
|
|
|
INIT_LIST_HEAD(&q->control_chunk_list);
|
|
@@ -213,11 +215,7 @@ void sctp_outq_init(struct sctp_association *asoc, struct sctp_outq *q)
|
|
|
INIT_LIST_HEAD(&q->sacked);
|
|
|
INIT_LIST_HEAD(&q->abandoned);
|
|
|
|
|
|
- q->fast_rtx = 0;
|
|
|
- q->outstanding_bytes = 0;
|
|
|
q->empty = 1;
|
|
|
- q->cork = 0;
|
|
|
- q->out_qlen = 0;
|
|
|
}
|
|
|
|
|
|
/* Free the outqueue structure and any related pending chunks.
|