diff options
author | peter <peter@FreeBSD.org> | 2001-06-07 03:17:26 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2001-06-07 03:17:26 +0000 |
commit | c1df44ae51f0e038d79f66d82849ae33f48b5c94 (patch) | |
tree | 960c8e41da0d34051d7134bc7acba89f5dc172de /sys/netinet | |
parent | b10afe2606f64b9c728011eef198b5998dfe418e (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sys/netinet/tcp_subr.c | 2 | ||||
-rw-r--r-- | sys/netinet/tcp_timewait.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c index 3857b75..4872626 100644 --- a/sys/netinet/tcp_subr.c +++ b/sys/netinet/tcp_subr.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 */ 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 */ |