1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00

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
This commit is contained in:
Bjoern A. Zeeb 2009-05-22 23:03:15 +00:00
parent 67da1f3d8d
commit f81a8a320c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=192612

View File

@ -34,6 +34,7 @@
__FBSDID("$FreeBSD$");
#include "opt_carp.h"
#include "opt_route.h"
#include <sys/param.h>
#include <sys/systm.h>