svn commit: r253950 - head/sys/netinet6
Hiroki Sato
hrs at FreeBSD.org
Mon Aug 5 00:36:12 UTC 2013
Author: hrs
Date: Mon Aug 5 00:36:12 2013
New Revision: 253950
URL: http://svnweb.freebsd.org/changeset/base/253950
Log:
Fix a panic in tmpaddrtimer.
Modified:
head/sys/netinet6/in6_ifattach.c
Modified: head/sys/netinet6/in6_ifattach.c
==============================================================================
--- head/sys/netinet6/in6_ifattach.c Mon Aug 5 00:28:03 2013 (r253949)
+++ head/sys/netinet6/in6_ifattach.c Mon Aug 5 00:36:12 2013 (r253950)
@@ -932,6 +932,8 @@ in6_tmpaddrtimer(void *arg)
bzero(nullbuf, sizeof(nullbuf));
TAILQ_FOREACH(ifp, &V_ifnet, if_list) {
+ if (ifp->if_afdata[AF_INET6] == NULL)
+ continue;
ndi = ND_IFINFO(ifp);
if (bcmp(ndi->randomid, nullbuf, sizeof(nullbuf)) != 0) {
/*
More information about the svn-src-all
mailing list