Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jul 2020 14:50:13 +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: r363129 - head/sys/netinet
Message-ID:  <202007121450.06CEoDGe007800@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)
 {



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