summaryrefslogtreecommitdiffstats
path: root/sys/kern/init_main.c
diff options
context:
space:
mode:
authorprovos <provos@openbsd.org>2001-11-27 22:53:19 +0000
committerprovos <provos@openbsd.org>2001-11-27 22:53:19 +0000
commit8f4b9dbe7a07bb37764756719012e057040edfe6 (patch)
tree8a65a0ec8994908ad1ce07839cd93521f7107085 /sys/kern/init_main.c
parentVarious pmap_k* optimizations, as well as uvm interface updates, (diff)
downloadwireguard-openbsd-8f4b9dbe7a07bb37764756719012e057040edfe6.tar.xz
wireguard-openbsd-8f4b9dbe7a07bb37764756719012e057040edfe6.zip
change socket allocation to pool allocator; from netbsd; okay niklas@
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r--sys/kern/init_main.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index f807a181062..800eb96aa08 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: init_main.c,v 1.85 2001/11/27 05:27:11 art Exp $ */
+/* $OpenBSD: init_main.c,v 1.86 2001/11/27 22:53:19 provos Exp $ */
/* $NetBSD: init_main.c,v 1.84.4.1 1996/06/02 09:08:06 mrg Exp $ */
/*
@@ -61,6 +61,7 @@
#include <sys/conf.h>
#include <sys/buf.h>
#include <sys/device.h>
+#include <sys/socketvar.h>
#include <sys/protosw.h>
#include <sys/reboot.h>
#include <sys/user.h>
@@ -210,6 +211,9 @@ main(framep)
*/
mbinit();
+ /* Initalize sockets. */
+ soinit();
+
/*
* Initialize timeouts.
*/