Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d4f0e095 authored by Alexei Starovoitov's avatar Alexei Starovoitov Committed by David S. Miller
Browse files

net: bridge: fix build



fix build when BRIDGE_VLAN_FILTERING is not set

Fixes: 2796d0c6 ("bridge: Automatically manage port promiscuous mode")

Signed-off-by: default avatarAlexei Starovoitov <ast@plumgrid.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 33fcc5e0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -727,7 +727,7 @@ static inline u16 br_get_pvid(const struct net_port_vlans *v)
	return VLAN_N_VID;	/* Returns invalid vid */
}

static inline int br_vlan_enabled(struct net_bridge *br);
static inline int br_vlan_enabled(struct net_bridge *br)
{
	return 0;
}