summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_syncache.c
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2008-10-23 20:26:15 +0000
committerdes <des@FreeBSD.org>2008-10-23 20:26:15 +0000
commita1e1ad22e07d384a9609e60cdf00daf7cac902cf (patch)
tree8c9f9efa0a9f52794e2ce1fe47128f50d30f8c28 /sys/netinet/tcp_syncache.c
parent0b81365bc66eb70b9d9b1466012b41f8ccdec19a (diff)
downloadFreeBSD-src-a1e1ad22e07d384a9609e60cdf00daf7cac902cf.zip
FreeBSD-src-a1e1ad22e07d384a9609e60cdf00daf7cac902cf.tar.gz
Fix a number of style issues in the MALLOC / FREE commit. I've tried to
be careful not to fix anything that was already broken; the NFSv4 code is particularly bad in this respect.
Diffstat (limited to 'sys/netinet/tcp_syncache.c')
-rw-r--r--sys/netinet/tcp_syncache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_syncache.c b/sys/netinet/tcp_syncache.c
index d81a24e..19c5b7e 100644
--- a/sys/netinet/tcp_syncache.c
+++ b/sys/netinet/tcp_syncache.c
@@ -247,8 +247,8 @@ syncache_init(void)
&V_tcp_syncache.cache_limit);
/* Allocate the hash table. */
- V_tcp_syncache.hashbase = malloc( V_tcp_syncache.hashsize * sizeof(struct syncache_head),
- M_SYNCACHE, M_WAITOK | M_ZERO);
+ V_tcp_syncache.hashbase = malloc(V_tcp_syncache.hashsize *
+ sizeof(struct syncache_head), M_SYNCACHE, M_WAITOK | M_ZERO);
/* Initialize the hash buckets. */
for (i = 0; i < V_tcp_syncache.hashsize; i++) {
OpenPOWER on IntegriCloud