source: trunk/target/linux/brcm63xx/patches-2.6.33/070_bcm63xx_enet_vlan_incoming_fixed.patch @ 19921

Last change on this file since 19921 was 19921, checked in by florian, 7 years ago

[brcm63xx] add support for 2.6.33

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

    a b static int compute_hw_mtu(struct bcm_ene 
    15231523        actual_mtu = mtu; 
    15241524 
    15251525        /* add ethernet header + vlan tag size */ 
    1526         actual_mtu += VLAN_ETH_HLEN; 
     1526        actual_mtu += VLAN_ETH_HLEN + VLAN_HLEN; 
    15271527 
    15281528        if (actual_mtu < 64 || actual_mtu > BCMENET_MAX_MTU) 
    15291529                return -EINVAL; 
Note: See TracBrowser for help on using the repository browser.