Unbreak kernel build with VLAN_ARRAY defined.
MFC after: 1 week
This commit is contained in:
parent
54abda0420
commit
875afd892a
@ -314,9 +314,6 @@ VNET_DEFINE_STATIC(struct if_clone *, vlan_cloner);
|
|||||||
#define V_vlan_cloner VNET(vlan_cloner)
|
#define V_vlan_cloner VNET(vlan_cloner)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef VLAN_ARRAY
|
|
||||||
#define HASH(n, m) ((((n) >> 8) ^ ((n) >> 4) ^ (n)) & (m))
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
vlan_mc_free(struct epoch_context *ctx)
|
vlan_mc_free(struct epoch_context *ctx)
|
||||||
{
|
{
|
||||||
@ -324,6 +321,9 @@ vlan_mc_free(struct epoch_context *ctx)
|
|||||||
free(mc, M_VLAN);
|
free(mc, M_VLAN);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef VLAN_ARRAY
|
||||||
|
#define HASH(n, m) ((((n) >> 8) ^ ((n) >> 4) ^ (n)) & (m))
|
||||||
|
|
||||||
static void
|
static void
|
||||||
vlan_inithash(struct ifvlantrunk *trunk)
|
vlan_inithash(struct ifvlantrunk *trunk)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user