summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_syncache.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet/tcp_syncache.c')
-rw-r--r--sys/netinet/tcp_syncache.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netinet/tcp_syncache.c b/sys/netinet/tcp_syncache.c
index b3846ce..d81a24e 100644
--- a/sys/netinet/tcp_syncache.c
+++ b/sys/netinet/tcp_syncache.c
@@ -247,8 +247,7 @@ syncache_init(void)
&V_tcp_syncache.cache_limit);
/* Allocate the hash table. */
- MALLOC(V_tcp_syncache.hashbase, struct syncache_head *,
- V_tcp_syncache.hashsize * sizeof(struct syncache_head),
+ V_tcp_syncache.hashbase = malloc( V_tcp_syncache.hashsize * sizeof(struct syncache_head),
M_SYNCACHE, M_WAITOK | M_ZERO);
/* Initialize the hash buckets. */
OpenPOWER on IntegriCloud