svn commit: r192612 - head/sys/netinet

Bjoern A. Zeeb bz at
Fri May 22 23:03:16 UTC 2009

Author: bz
Date: Fri May 22 23:03:15 2009
New Revision: 192612

  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
--- 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 @@
 #include "opt_carp.h"
+#include "opt_route.h"
 #include <sys/param.h>
 #include <sys/systm.h>

More information about the svn-src-all mailing list