Author: tuexen Date: Fri Apr 1 20:38:15 2016 New Revision: 297497 URL: https://svnweb.freebsd.org/changeset/base/297497
Log: Set the chunk id for ERROR chunks. This is work with rrs@. MFC after: 1 week Modified: head/sys/netinet/sctp_output.c Modified: head/sys/netinet/sctp_output.c ============================================================================== --- head/sys/netinet/sctp_output.c Fri Apr 1 20:26:45 2016 (r297496) +++ head/sys/netinet/sctp_output.c Fri Apr 1 20:38:15 2016 (r297497) @@ -8943,6 +8943,8 @@ sctp_queue_op_err(struct sctp_tcb *stcb, 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; _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"