summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_timewait.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-06-07 03:17:26 +0000
committerpeter <peter@FreeBSD.org>2001-06-07 03:17:26 +0000
commitc1df44ae51f0e038d79f66d82849ae33f48b5c94 (patch)
tree960c8e41da0d34051d7134bc7acba89f5dc172de /sys/netinet/tcp_timewait.c
parentb10afe2606f64b9c728011eef198b5998dfe418e (diff)
downloadFreeBSD-src-c1df44ae51f0e038d79f66d82849ae33f48b5c94.zip
FreeBSD-src-c1df44ae51f0e038d79f66d82849ae33f48b5c94.tar.gz
Back out part of my previous commit. This was a last minute change
and I botched testing. This is a perfect example of how NOT to do this sort of thing. :-(
Diffstat (limited to 'sys/netinet/tcp_timewait.c')
-rw-r--r--sys/netinet/tcp_timewait.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/tcp_timewait.c b/sys/netinet/tcp_timewait.c
index 3857b75..4872626 100644
--- a/sys/netinet/tcp_timewait.c
+++ b/sys/netinet/tcp_timewait.c
@@ -194,7 +194,7 @@ tcp_init()
LIST_INIT(&tcb);
tcbinfo.listhead = &tcb;
- TUNABLE_INT_FETCH("net.inet.tcp.tcbhashsize", &hashsize);
+ TUNABLE_INT_FETCH("net.inet.tcp.tcbhashsize", hashsize);
if (!powerof2(hashsize)) {
printf("WARNING: TCB hash size not a power of 2\n");
hashsize = 512; /* safe default */
OpenPOWER on IntegriCloud