diff options
author | julian <julian@FreeBSD.org> | 2008-08-20 01:05:56 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2008-08-20 01:05:56 +0000 |
commit | 0592958505e144fa8a1cdff63ecc2e605ac5e407 (patch) | |
tree | 1a19e6226789a77aca65db762eda0fb078daa7e5 /sys/netinet6/in6_ifattach.c | |
parent | e808f0ec7052dba8316366ce3f9ae8f001c34252 (diff) | |
download | FreeBSD-src-0592958505e144fa8a1cdff63ecc2e605ac5e407.zip FreeBSD-src-0592958505e144fa8a1cdff63ecc2e605ac5e407.tar.gz |
A bunch of formatting fixes brough to light by, or created by the Vimage commit
a few days ago.
Diffstat (limited to 'sys/netinet6/in6_ifattach.c')
-rw-r--r-- | sys/netinet6/in6_ifattach.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/netinet6/in6_ifattach.c b/sys/netinet6/in6_ifattach.c index a1b832b..beadb75 100644 --- a/sys/netinet6/in6_ifattach.c +++ b/sys/netinet6/in6_ifattach.c @@ -868,14 +868,14 @@ in6_tmpaddrtimer(void *ignored_arg) struct nd_ifinfo *ndi; u_int8_t nullbuf[8]; struct ifnet *ifp; - int s = splnet(); callout_reset(&V_in6_tmpaddrtimer_ch, (V_ip6_temp_preferred_lifetime - V_ip6_desync_factor - V_ip6_temp_regen_advance) * hz, in6_tmpaddrtimer, NULL); bzero(nullbuf, sizeof(nullbuf)); - for (ifp = TAILQ_FIRST(&V_ifnet); ifp; ifp = TAILQ_NEXT(ifp, if_list)) { + for (ifp = TAILQ_FIRST(&V_ifnet); ifp; + ifp = TAILQ_NEXT(ifp, if_list)) { ndi = ND_IFINFO(ifp); if (bcmp(ndi->randomid, nullbuf, sizeof(nullbuf)) != 0) { /* @@ -887,7 +887,6 @@ in6_tmpaddrtimer(void *ignored_arg) } } - splx(s); } static void |