svn commit: r251469 - stable/9/usr.sbin/rtadvd
Dag-Erling Smørgrav
des at FreeBSD.org
Thu Jun 6 13:47:37 UTC 2013
Author: des
Date: Thu Jun 6 13:47:36 2013
New Revision: 251469
URL: http://svnweb.freebsd.org/changeset/base/251469
Log:
MFH (r247863): fix occasional SIGSEGV when an interface was added.
Modified:
stable/9/usr.sbin/rtadvd/rtadvd.c
Directory Properties:
stable/9/usr.sbin/rtadvd/ (props changed)
Modified: stable/9/usr.sbin/rtadvd/rtadvd.c
==============================================================================
--- stable/9/usr.sbin/rtadvd/rtadvd.c Thu Jun 6 11:59:38 2013 (r251468)
+++ stable/9/usr.sbin/rtadvd/rtadvd.c Thu Jun 6 13:47:36 2013 (r251469)
@@ -1008,6 +1008,8 @@ set_short_delay(struct ifinfo *ifi)
long delay; /* must not be greater than 1000000 */
struct timeval interval, now, min_delay, tm_tmp, *rest;
+ if (ifi->ifi_ra_timer == NULL)
+ return;
/*
* Compute a random delay. If the computed value
* corresponds to a time later than the time the next
More information about the svn-src-stable-9
mailing list