svn commit: r363129 - head/sys/netinet
Michael Tuexen
tuexen at FreeBSD.org
Sun Jul 12 14:50:13 UTC 2020
Author: tuexen
Date: Sun Jul 12 14:50:12 2020
New Revision: 363129
URL: https://svnweb.freebsd.org/changeset/base/363129
Log:
(Re)activate SCTP system calls when compiling SCTP support into the kernel
r363079 introduced the possibility of loading the SCTP stack as a module in
addition to compiling it into the kernel. As part of this, the registration
of the system calls was removed and put into the loading of the module.
Therefore, the system calls are not registered anymore when compiling the
SCTP into the kernel. This patch addresses that.
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D25632
Modified:
head/sys/netinet/sctp_syscalls.c
Modified: head/sys/netinet/sctp_syscalls.c
==============================================================================
--- head/sys/netinet/sctp_syscalls.c Sun Jul 12 11:24:23 2020 (r363128)
+++ head/sys/netinet/sctp_syscalls.c Sun Jul 12 14:50:12 2020 (r363129)
@@ -117,6 +117,10 @@ sctp_syscalls_init(void)
return (0);
}
+#ifdef SCTP
+SYSINIT(sctp_syscalls, SI_SUB_SYSCALLS, SI_ORDER_ANY, sctp_syscalls_init, NULL);
+#endif
+
int
sctp_syscalls_uninit(void)
{
More information about the svn-src-head
mailing list