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
This commit is contained in:
Michael Tuexen 2015-03-11 15:21:39 +00:00
parent b3bf169ac7
commit 975c975bf0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=279888

View File

@ -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 */