source: trunk/target/linux/generic/patches-2.6.32/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: 371 bytes
  • net/bridge/br_input.c

    a b int br_handle_frame_finish(struct sk_buf 
    5050        br = p->br; 
    5151        br_fdb_update(br, p, eth_hdr(skb)->h_source); 
    5252 
    53         if (p->state == BR_STATE_LEARNING) 
     53        if ((p->state == BR_STATE_LEARNING) && skb->protocol != htons(ETH_P_PAE)) 
    5454                goto drop; 
    5555 
    5656        /* The packet skb2 goes to the local host (NULL to skip). */ 
Note: See TracBrowser for help on using the repository browser.