Date: Fri, 13 Jul 2007 13:01:05 GMT From: Ana Kukec <anchie@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 123438 for review Message-ID: <200707131301.l6DD15es084243@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=123438 Change 123438 by anchie@anchie_malimis on 2007/07/13 13:00:13 Remove a stale printf(). Do not schedule key_timehandler() more than once. Affected files ... .. //depot/projects/vimage/src/sys/netipsec/key.c#6 edit Differences ... ==== //depot/projects/vimage/src/sys/netipsec/key.c#6 (text+ko) ==== @@ -7149,8 +7149,6 @@ INIT_VNET_IPSEC(curvnet); int i; - printf(" ---> key_init <---\n"); - V_key_debug_level = 0; V_key_spi_trycnt = 1000; V_key_spi_minval = 0x100; @@ -7201,7 +7199,13 @@ V_ip4_def_policy.refcnt++; /*never reclaim this*/ #ifndef IPSEC_DEBUG2 +#ifdef VIMAGE + if (curvnet == &vnet_0) { +#endif timeout((void *)key_timehandler, (void *)0, hz); +#ifdef VIMAGE + } +#endif #endif /*IPSEC_DEBUG2*/ /* initialize key statistics */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707131301.l6DD15es084243>