Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 May 2008 05:22:44 GMT
From:      Julian Elischer <julian@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 141699 for review
Message-ID:  <200805160522.m4G5Mi7H060069@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=141699

Change 141699 by julian@julian_trafmon1 on 2008/05/16 05:22:12

	 Stop crashing on boot!

Affected files ...

.. //depot/projects/vimage/src/sys/netinet/in_rmx.c#14 edit

Differences ...

==== //depot/projects/vimage/src/sys/netinet/in_rmx.c#14 (text+ko) ====

@@ -325,8 +325,6 @@
 	INIT_VNET_INET((struct vnet *) rock);
 	struct timeval atv;
 
-	KASSERT((rock == (void *)V_rt_tables[0][AF_INET]),
-			("in_rtqtimo: unexpected arg"));
 	for (fibnum = 0; fibnum < rt_numfibs; fibnum++) {
 		if ((newrock = V_rt_tables[fibnum][AF_INET]) != NULL)
 			in_rtqtimo_one(newrock);
@@ -395,7 +393,7 @@
 	rnh->rnh_close = in_clsroute;
 	if (_in_rt_was_here == 0 ) {
 		callout_init(&V_rtq_timer, CALLOUT_MPSAFE);
-		in_rtqtimo(rnh);	/* kick off timeout first time */
+		in_rtqtimo(curvnet);	/* kick off timeout first time */
 		_in_rt_was_here = 1;
 	}
 	return 1;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805160522.m4G5Mi7H060069>