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> _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"