OpenWrt – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | From: Felix Fietkau <nbd@nbd.name> |
2 | Subject: [PATCH] bridge: always accept EAP |
||
3 | |||
4 | Allow EAP frames to pass through bridges even in learning state. Fixes |
||
5 | issues with WDS. |
||
6 | --- |
||
7 | --- a/net/bridge/br_input.c |
||
8 | +++ b/net/bridge/br_input.c |
||
9 | @@ -84,7 +84,7 @@ int br_handle_frame_finish(struct sk_buf |
||
10 | br_multicast_rcv(br, p, skb, vid)) |
||
11 | goto drop; |
||
12 | |||
13 | - if (p->state == BR_STATE_LEARNING) |
||
14 | + if ((p->state == BR_STATE_LEARNING) && skb->protocol != htons(ETH_P_PAE)) |
||
15 | goto drop; |
||
16 | |||
17 | BR_INPUT_SKB_CB(skb)->brdev = br->dev; |