projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33fcc5e
)
net: bridge: fix build
author
Alexei Starovoitov
<ast@plumgrid.com>
Sun, 18 May 2014 17:30:28 +0000
(10:30 -0700)
committer
David S. Miller
<davem@davemloft.net>
Mon, 19 May 2014 00:09:50 +0000
(20:09 -0400)
fix build when BRIDGE_VLAN_FILTERING is not set
Fixes:
2796d0c648c94
("bridge: Automatically manage port promiscuous mode")
Signed-off-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_private.h
patch
|
blob
|
history
diff --git
a/net/bridge/br_private.h
b/net/bridge/br_private.h
index
2b2286d
..
af06771
100644
(file)
--- a/
net/bridge/br_private.h
+++ b/
net/bridge/br_private.h
@@
-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;
}