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