Page MenuHomeFreeBSD

D31470.diff
No OneTemporary

D31470.diff

diff --git a/sys/netinet6/in6_ifattach.c b/sys/netinet6/in6_ifattach.c
--- a/sys/netinet6/in6_ifattach.c
+++ b/sys/netinet6/in6_ifattach.c
@@ -828,6 +828,7 @@
in6_tmpaddrtimer(void *arg)
{
CURVNET_SET((struct vnet *) arg);
+ struct epoch_tracker et;
struct nd_ifinfo *ndi;
u_int8_t nullbuf[8];
struct ifnet *ifp;
@@ -837,6 +838,7 @@
V_ip6_temp_regen_advance) * hz, in6_tmpaddrtimer, curvnet);
bzero(nullbuf, sizeof(nullbuf));
+ NET_EPOCH_ENTER(et);
CK_STAILQ_FOREACH(ifp, &V_ifnet, if_link) {
if (ifp->if_afdata[AF_INET6] == NULL)
continue;
@@ -850,7 +852,7 @@
ndi->randomseed1, ndi->randomid);
}
}
-
+ NET_EPOCH_EXIT(et);
CURVNET_RESTORE();
}

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 18, 10:50 AM (21 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14696322
Default Alt Text
D31470.diff (692 B)

Event Timeline