source: branches/backfire/target/linux/generic-2.6/patches-2.6.32/270-bridge_no_eap_forward.patch @ 25364

Last change on this file since 25364 was 25364, checked in by nbd, 5 years ago

kernel: merge the eap frame drop fix for the bridging code from r25095

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

    a b int br_handle_frame_finish(struct sk_buf 
    6161 
    6262        dst = NULL; 
    6363 
    64         if (is_multicast_ether_addr(dest)) { 
     64        if (skb->protocol == htons(ETH_P_PAE)) { 
     65                skb2 = skb; 
     66                /* Do not forward 802.1x/EAP frames */ 
     67                skb = NULL; 
     68        } else if (is_multicast_ether_addr(dest)) { 
    6569                br->dev->stats.multicast++; 
    6670                skb2 = skb; 
    6771        } else if ((dst = __br_fdb_get(br, dest)) && dst->is_local) { 
Note: See TracBrowser for help on using the repository browser.