Date: Mon, 2 Jul 2007 01:28:51 GMT From: Marko Zec <zec@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 122693 for review Message-ID: <200707020128.l621Sp2q035802@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=122693 Change 122693 by zec@zec_tpx32 on 2007/07/02 01:28:33 Cosmetic change. Affected files ... .. //depot/projects/vimage/src/sys/netinet/tcp_hostcache.c#13 edit Differences ... ==== //depot/projects/vimage/src/sys/netinet/tcp_hostcache.c#13 (text+ko) ==== @@ -222,17 +222,16 @@ NULL, NULL, NULL, NULL, UMA_ALIGN_PTR, 0); uma_zone_set_max(V_tcp_hostcache.zone, V_tcp_hostcache.cache_limit); +#ifdef VIMAGE + if (curvnet != &vnet_0) + return; +#endif + /* * Set up periodic cache cleanup. */ -#ifdef VIMAGE - if (curvnet == &vnet_0) { -#endif callout_init(&tcp_hc_callout, CALLOUT_MPSAFE); callout_reset(&tcp_hc_callout, V_tcp_hostcache.prune * hz, tcp_hc_purge, 0); -#ifdef VIMAGE - } -#endif } /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707020128.l621Sp2q035802>