HomeFreeBSD

If including vnet.h one has to include opt_route.h as well. This is

Description

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

Details

Provenance
bzAuthored on May 22 2009, 11:03 PM
Parents
rG67da1f3d8d5c: Set ifp->if_afdata_initialized to 0 while holding IF_AFDATA_LOCK on ifp,
Branches
Unknown
Tags
Unknown

Event Timeline