source: trunk/target/linux/brcm63xx/patches-2.6.30/070_bcm63xx_enet_vlan_incoming_fixed.patch @ 19753

Last change on this file since 19753 was 19753, checked in by florian, 6 years ago

[brcm63xx] fix the receiving of packets with a 1500 mtu and vlan enabled (#6698)

File size: 527 bytes
  • drivers/net/bcm63xx_enet.c

    old new  
    15201520        actual_mtu = mtu; 
    15211521 
    15221522        /* add ethernet header + vlan tag size */ 
    1523         actual_mtu += VLAN_ETH_HLEN; 
     1523        actual_mtu += VLAN_ETH_HLEN + VLAN_HLEN; 
    15241524 
    15251525        if (actual_mtu < 64 || actual_mtu > BCMENET_MAX_MTU) 
    15261526                return -EINVAL; 
Note: See TracBrowser for help on using the repository browser.