1 From: Felix Fietkau <nbd@openwrt.org>
2 Subject: [PATCH] bridge: always accept EAP
4 Allow EAP frames to pass through bridges even in learning state. Fixes
7 --- a/net/bridge/br_input.c
8 +++ b/net/bridge/br_input.c
9 @@ -140,7 +140,7 @@ int br_handle_frame_finish(struct sk_buf
10 br_multicast_rcv(br, p, skb, vid))
13 - if (p->state == BR_STATE_LEARNING)
14 + if ((p->state == BR_STATE_LEARNING) && skb->protocol != htons(ETH_P_PAE))
17 BR_INPUT_SKB_CB(skb)->brdev = br->dev;