ar71xx: add TP-Link board detection
[openwrt.git] / target / linux / generic / patches-2.6.32 / 271-bridge_always_accept_eap.patch
1 --- a/net/bridge/br_input.c
2 +++ b/net/bridge/br_input.c
3 @@ -50,7 +50,7 @@ int br_handle_frame_finish(struct sk_buf
4 br = p->br;
5 br_fdb_update(br, p, eth_hdr(skb)->h_source);
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 /* The packet skb2 goes to the local host (NULL to skip). */
This page took 0.051846 seconds and 5 git commands to generate.