source: trunk/target/linux/generic/patches-2.6.39/640-bridge_no_eap_forward.patch @ 26691

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

kernel: reorganize 2.6.39 patches

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

    a b int br_handle_frame_finish(struct sk_buf 
    7777 
    7878        dst = NULL; 
    7979 
    80         if (is_multicast_ether_addr(dest)) { 
     80        if (skb->protocol == htons(ETH_P_PAE)) { 
     81                skb2 = skb; 
     82                /* Do not forward 802.1x/EAP frames */ 
     83                skb = NULL; 
     84        } else if (is_multicast_ether_addr(dest)) { 
    8185                mdst = br_mdb_get(br, skb); 
    8286                if (mdst || BR_INPUT_SKB_CB_MROUTERS_ONLY(skb)) { 
    8387                        if ((mdst && mdst->mglist) || 
Note: See TracBrowser for help on using the repository browser.