1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=297497

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;