diff options
| author | Bjoern A. Zeeb <bz@FreeBSD.org> | 2008-12-10 22:10:37 +0000 |
|---|---|---|
| committer | Bjoern A. Zeeb <bz@FreeBSD.org> | 2008-12-10 22:10:37 +0000 |
| commit | 36b5ba0c49ed516e04bd90665ee80229dc3ab7ca (patch) | |
| tree | 6349a495813e82591fe400576cd5f2ce5e5846a4 | |
| parent | d16ebcd4fe9a6fa9389fb094336c6634fe405055 (diff) | |
Notes
| -rw-r--r-- | sys/kern/uipc_socket.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/uipc_socket.c b/sys/kern/uipc_socket.c index 2aa63e804a14..9e9c31c67111 100644 --- a/sys/kern/uipc_socket.c +++ b/sys/kern/uipc_socket.c @@ -238,8 +238,10 @@ SYSCTL_PROC(_kern_ipc, OID_AUTO, maxsockets, CTLTYPE_INT|CTLFLAG_RW, /* * Initialise maxsockets. */ -static void init_maxsockets(void *ignored) +static void +init_maxsockets(void *ignored) { + TUNABLE_INT_FETCH("kern.ipc.maxsockets", &maxsockets); maxsockets = imax(maxsockets, imax(maxfiles, nmbclusters)); } |
