Set the chunk id for ERROR chunks.

This is work with rrs@.
MFC after:	1 week
This commit is contained in:
Michael Tuexen 2016-04-01 20:38:15 +00:00
parent b738dafd90
commit e2823e8570

View File

@ -8943,6 +8943,8 @@ sctp_queue_op_err(struct sctp_tcb *stcb, struct mbuf *op_err)
chk->asoc = &stcb->asoc;
chk->data = op_err;
chk->whoTo = NULL;
chk->rec.chunk_id.id = SCTP_OPERATION_ERROR;
chk->rec.chunk_id.can_take_data = 0;
hdr = mtod(op_err, struct sctp_chunkhdr *);
hdr->chunk_type = SCTP_OPERATION_ERROR;
hdr->chunk_flags = 0;