Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Mar 2015 15:21:40 +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: r279888 - head/sys/netinet
Message-ID:  <201503111521.t2BFLeJx063727@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tuexen
Date: Wed Mar 11 15:21:39 2015
New Revision: 279888
URL: https://svnweb.freebsd.org/changeset/base/279888

Log:
  It seems that sb_acc is a better replacement for sb_cc than sb_ccc. At
  least it unbreaks the use of select() for SCTP sockets.
  
  MFC after: 3 days

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:10:30 2015	(r279887)
+++ head/sys/netinet/sctp_os_bsd.h	Wed Mar 11 15:21:39 2015	(r279888)
@@ -390,7 +390,7 @@ typedef struct callout sctp_os_timer_t;
 /* get the socket type */
 #define SCTP_SO_TYPE(so)	((so)->so_type)
 /* Use a macro for renaming sb_cc to sb_ccc */
-#define sb_cc sb_ccc
+#define sb_cc sb_acc
 /* reserve sb space for a socket */
 #define SCTP_SORESERVE(so, send, recv)	soreserve(so, send, recv)
 /* wakeup a socket */



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