svn commit: r279889 - head/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Wed Mar 11 15:40:30 UTC 2015


Author: tuexen
Date: Wed Mar 11 15:40:29 2015
New Revision: 279889
URL: https://svnweb.freebsd.org/changeset/base/279889

Log:
  Update a comment to get it aligned with the code change.
  
  Reported by:	brueffer@

Modified:
  head/sys/netinet/sctp_os_bsd.h

Modified: head/sys/netinet/sctp_os_bsd.h
==============================================================================
--- head/sys/netinet/sctp_os_bsd.h	Wed Mar 11 15:21:39 2015	(r279888)
+++ head/sys/netinet/sctp_os_bsd.h	Wed Mar 11 15:40:29 2015	(r279889)
@@ -389,7 +389,10 @@ typedef struct callout sctp_os_timer_t;
 #define SCTP_CLEAR_SO_NBIO(so)	((so)->so_state &= ~SS_NBIO)
 /* get the socket type */
 #define SCTP_SO_TYPE(so)	((so)->so_type)
-/* Use a macro for renaming sb_cc to sb_ccc */
+/* Use a macro for renaming sb_cc to sb_acc.
+ * Initially sb_ccc was used, but this broke select() when used
+ * with SCTP sockets.
+ */
 #define sb_cc sb_acc
 /* reserve sb space for a socket */
 #define SCTP_SORESERVE(so, send, recv)	soreserve(so, send, recv)


More information about the svn-src-all mailing list