aboutsummaryrefslogtreecommitdiffstats
path: root/net/bridge
diff options
context:
space:
mode:
authorBenjamin Poirier <benjamin.poirier@polymtl.ca>2010-10-18 12:09:35 -0400
committerDavid S. Miller <davem@davemloft.net>2010-10-21 07:25:48 -0400
commit1e253c3b8a1aeed51eef6fc366812f219b97de65 (patch)
tree9263790eba3e34b51131ee8d25ced2f146fc6f1f /net/bridge
parenta5c30b349b872aa2ac13babbd5ceb26737f17e95 (diff)
bridge: Forward reserved group addresses if !STP
Make all frames sent to reserved group MAC addresses (01:80:c2:00:00:00 to 01:80:c2:00:00:0f) be forwarded if STP is disabled. This enables forwarding EAPOL frames, among other things. Signed-off-by: Benjamin Poirier <benjamin.poirier@polymtl.ca> Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge')
-rw-r--r--net/bridge/br_input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/br_input.c b/net/bridge/br_input.c
index 6d04cfdf4541..25207a1f182b 100644
--- a/net/bridge/br_input.c
+++ b/net/bridge/br_input.c
@@ -159,7 +159,7 @@ struct sk_buff *br_handle_frame(struct sk_buff *skb)
159 goto drop; 159 goto drop;
160 160
161 /* If STP is turned off, then forward */ 161 /* If STP is turned off, then forward */
162 if (p->br->stp_enabled == BR_NO_STP && dest[5] == 0) 162 if (p->br->stp_enabled == BR_NO_STP)
163 goto forward; 163 goto forward;
164 164
165 if (NF_HOOK(NFPROTO_BRIDGE, NF_BR_LOCAL_IN, skb, skb->dev, 165 if (NF_HOOK(NFPROTO_BRIDGE, NF_BR_LOCAL_IN, skb, skb->dev,