Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Apr 2016 20:38:15 +0000 (UTC)
From:      Michael Tuexen <tuexen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r297497 - head/sys/netinet
Message-ID:  <201604012038.u31KcFVi090072@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604012038.u31KcFVi090072>