summaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_syncache.c
diff options
context:
space:
mode:
authorAndre Oppermann <andre@FreeBSD.org>2006-06-20 08:11:30 +0000
committerAndre Oppermann <andre@FreeBSD.org>2006-06-20 08:11:30 +0000
commitc9f7b0ad5bbb3ceb11066e46317cd61b6c2632f2 (patch)
treea4d1aac9c3e9f5acc2cdfaaf9991f8b60cde857e /sys/netinet/tcp_syncache.c
parent35a6917047558bfc56084061de0f286a1a04c0c7 (diff)
Notes
Diffstat (limited to 'sys/netinet/tcp_syncache.c')
-rw-r--r--sys/netinet/tcp_syncache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/tcp_syncache.c b/sys/netinet/tcp_syncache.c
index a46d220d0e95..12610ef3a981 100644
--- a/sys/netinet/tcp_syncache.c
+++ b/sys/netinet/tcp_syncache.c
@@ -281,7 +281,7 @@ syncache_init(void)
/* Allocate the hash table. */
MALLOC(tcp_syncache.hashbase, struct syncache_head *,
tcp_syncache.hashsize * sizeof(struct syncache_head),
- M_SYNCACHE, M_WAITOK);
+ M_SYNCACHE, M_WAITOK | M_ZERO);
/* Initialize the hash buckets. */
for (i = 0; i < tcp_syncache.hashsize; i++) {