summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Oppermann <andre@FreeBSD.org>2003-11-28 16:33:03 +0000
committerAndre Oppermann <andre@FreeBSD.org>2003-11-28 16:33:03 +0000
commitcd6c4060c8801b7b1c1e74ffbc7aedc37c603fe8 (patch)
treeb89ea3dd35cea001eee9869a0e778d81276358a4
parentdd8b0111cb37d1d383194ea4b113500d93376545 (diff)
Notes
-rw-r--r--sys/netinet/tcp_hostcache.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netinet/tcp_hostcache.c b/sys/netinet/tcp_hostcache.c
index 461ce8558a9b..52f573f5bdc9 100644
--- a/sys/netinet/tcp_hostcache.c
+++ b/sys/netinet/tcp_hostcache.c
@@ -351,16 +351,16 @@ tcp_hc_insert(struct in_conninfo *inc)
* At first we were dropping the last element, just to
* reaquire it in the next two lines again which ain't
* very efficient. Instead just reuse the least used element.
- * maybe we drop something that is still "in-use" but we can
+ * Maybe we drop something that is still "in-use" but we can
* be "lossy".
*/
-#if 0
TAILQ_REMOVE(&hc_head->hch_bucket, hc_entry, rmx_q);
- uma_zfree(tcp_hostcache.zone, hc_entry);
tcp_hostcache.hashbase[hash].hch_length--;
tcp_hostcache.cache_count--;
-#endif
tcpstat.tcps_hc_bucketoverflow++;
+#if 0
+ uma_zfree(tcp_hostcache.zone, hc_entry);
+#endif
} else {
/*
* Allocate a new entry, or balk if not possible