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:
parent
b738dafd90
commit
e2823e8570
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=297497
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user