Commit 1e253c3b authored by Benjamin Poirier's avatar Benjamin Poirier Committed by David S. Miller

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: default avatarBenjamin Poirier <benjamin.poirier@polymtl.ca>
Signed-off-by: default avatarStephen Hemminger <shemminger@vyatta.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a5c30b34
...@@ -159,7 +159,7 @@ struct sk_buff *br_handle_frame(struct sk_buff *skb) ...@@ -159,7 +159,7 @@ struct sk_buff *br_handle_frame(struct sk_buff *skb)
goto drop; goto drop;
/* If STP is turned off, then forward */ /* If STP is turned off, then forward */
if (p->br->stp_enabled == BR_NO_STP && dest[5] == 0) if (p->br->stp_enabled == BR_NO_STP)
goto forward; goto forward;
if (NF_HOOK(NFPROTO_BRIDGE, NF_BR_LOCAL_IN, skb, skb->dev, if (NF_HOOK(NFPROTO_BRIDGE, NF_BR_LOCAL_IN, skb, skb->dev,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment