svn commit: r297497 - head/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Fri Apr 1 20:38:17 UTC 2016


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 at .
  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;


More information about the svn-src-head mailing list