Skip to content

Commit

Permalink
net: bridge: fix build
Browse files Browse the repository at this point in the history
fix build when BRIDGE_VLAN_FILTERING is not set

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

Signed-off-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Alexei Starovoitov authored and David S. Miller committed May 19, 2014
1 parent 33fcc5e commit d4f0e09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/bridge/br_private.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit d4f0e09

Please sign in to comment.