2014-03-07 19:27:00 +08:00
|
|
|
--- a/net/bridge/br_input.c
|
|
|
|
+++ b/net/bridge/br_input.c
|
2014-03-31 21:43:06 +08:00
|
|
|
@@ -84,7 +84,7 @@ int br_handle_frame_finish(struct sk_buf
|
2014-03-07 19:27:00 +08:00
|
|
|
br_multicast_rcv(br, p, skb, vid))
|
|
|
|
goto drop;
|
|
|
|
|
|
|
|
- if (p->state == BR_STATE_LEARNING)
|
|
|
|
+ if ((p->state == BR_STATE_LEARNING) && skb->protocol != htons(ETH_P_PAE))
|
|
|
|
goto drop;
|
|
|
|
|
|
|
|
BR_INPUT_SKB_CB(skb)->brdev = br->dev;
|