提交 d4f0e095 编写于 作者: A Alexei Starovoitov 提交者: David S. Miller

net: bridge: fix build

fix build when BRIDGE_VLAN_FILTERING is not set

Fixes: 2796d0c6 ("bridge: Automatically manage port promiscuous mode")
Signed-off-by: NAlexei Starovoitov <ast@plumgrid.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 33fcc5e0
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册