kernel: allow EAP frames to pass through bridges even in learning state - fixes issue...
[openwrt.git] / target / linux / generic / patches-2.6.38 / 271-bridge_always_accept_eap.patch
1 --- a/net/bridge/br_input.c
2 +++ b/net/bridge/br_input.c
3 @@ -60,7 +60,7 @@ int br_handle_frame_finish(struct sk_buf
4 br_multicast_rcv(br, p, skb))
5 goto drop;
6
7 - if (p->state == BR_STATE_LEARNING)
8 + if ((p->state == BR_STATE_LEARNING) && skb->protocol != htons(ETH_P_PAE))
9 goto drop;
10
11 BR_INPUT_SKB_CB(skb)->brdev = br->dev;
This page took 0.039008 seconds and 5 git commands to generate.