summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_os_bsd.h
diff options
context:
space:
mode:
authortuexen <tuexen@FreeBSD.org>2015-03-11 15:40:29 +0000
committertuexen <tuexen@FreeBSD.org>2015-03-11 15:40:29 +0000
commitaabb9cebfe4b7548e05c961c7ecf2dd0bd9c57ad (patch)
treeb69d8701edaa6990c8788e02474ddb45e61dfe5c /sys/netinet/sctp_os_bsd.h
parent552162ec9368cbece63bfcd96050d60f70e0007b (diff)
downloadFreeBSD-src-aabb9cebfe4b7548e05c961c7ecf2dd0bd9c57ad.zip
FreeBSD-src-aabb9cebfe4b7548e05c961c7ecf2dd0bd9c57ad.tar.gz
Update a comment to get it aligned with the code change.
Reported by: brueffer@
Diffstat (limited to 'sys/netinet/sctp_os_bsd.h')
-rw-r--r--sys/netinet/sctp_os_bsd.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/netinet/sctp_os_bsd.h b/sys/netinet/sctp_os_bsd.h
index 6160105..140f341 100644
--- a/sys/netinet/sctp_os_bsd.h
+++ b/sys/netinet/sctp_os_bsd.h
@@ -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)
OpenPOWER on IntegriCloud