Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 May 2009 23:03:16 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r192612 - head/sys/netinet
Message-ID:  <200905222303.n4MN3Gsl021718@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bz
Date: Fri May 22 23:03:15 2009
New Revision: 192612
URL: http://svn.freebsd.org/changeset/base/192612

Log:
  If including vnet.h one has to include opt_route.h as well. This is
  because struct vnet_net holds the rt_tables[][] for MRT and array size
  is compile time dependent.  If you had ROUTETABLES set to >1 after
  r192011 V_loif was pointing into nonsense leading to strange results
  or even panics for some people.
  
  Reviewed by:	mz

Modified:
  head/sys/netinet/in.c

Modified: head/sys/netinet/in.c
==============================================================================
--- head/sys/netinet/in.c	Fri May 22 22:57:05 2009	(r192611)
+++ head/sys/netinet/in.c	Fri May 22 23:03:15 2009	(r192612)
@@ -34,6 +34,7 @@
 __FBSDID("$FreeBSD$");
 
 #include "opt_carp.h"
+#include "opt_route.h"
 
 #include <sys/param.h>
 #include <sys/systm.h>



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