source: trunk/target/linux/generic/patches-2.6.36/271-bridge_always_accept_eap.patch @ 26015

Last change on this file since 26015 was 26015, checked in by nbd, 6 years ago

kernel: allow EAP frames to pass through bridges even in learning state - fixes issues with WDS

File size: 337 bytes
  • net/bridge/br_input.c

    a b int br_handle_frame_finish(struct sk_buf 
    6060            br_multicast_rcv(br, p, skb)) 
    6161                goto drop; 
    6262 
    63         if (p->state == BR_STATE_LEARNING) 
     63        if ((p->state == BR_STATE_LEARNING) && skb->protocol != htons(ETH_P_PAE)) 
    6464                goto drop; 
    6565 
    6666        BR_INPUT_SKB_CB(skb)->brdev = br->dev; 
Note: See TracBrowser for help on using the repository browser.