svn commit: r271643 - head/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Mon Sep 15 19:38:35 UTC 2014


Author: tuexen
Date: Mon Sep 15 19:38:34 2014
New Revision: 271643
URL: http://svnweb.freebsd.org/changeset/base/271643

Log:
  Chunk IDs are 8 bit entities, not 16 bit.
  Thanks to Peter Kasting from Google for drawing
  my attention to it.
  
  MFC after: 3 days

Modified:
  head/sys/netinet/sctp_structs.h

Modified: head/sys/netinet/sctp_structs.h
==============================================================================
--- head/sys/netinet/sctp_structs.h	Mon Sep 15 19:07:24 2014	(r271642)
+++ head/sys/netinet/sctp_structs.h	Mon Sep 15 19:38:34 2014	(r271643)
@@ -418,8 +418,8 @@ TAILQ_HEAD(sctpchunk_listhead, sctp_tmit
 #define CHUNK_FLAGS_FRAGMENT_OK	        0x0100
 
 struct chk_id {
-	uint16_t id;
-	uint16_t can_take_data;
+	uint8_t id;
+	uint8_t can_take_data;
 };
 
 


More information about the svn-src-all mailing list