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;
 };
 
 
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to