]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
If including vnet.h one has to include opt_route.h as well. This is
authorbz <bz@FreeBSD.org>
Fri, 22 May 2009 23:03:15 +0000 (23:03 +0000)
committerbz <bz@FreeBSD.org>
Fri, 22 May 2009 23:03:15 +0000 (23:03 +0000)
commitf09c1df7a5cfa6cddfac0d822b83c72064c1ab8e
tree2bdf0bcdd2847b97177cc2bd2251b8551342ec4e
parentce69980b94cf6931a114fe20212172fcf84e67f0
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
sys/netinet/in.c