source: trunk/target/linux/brcm63xx/patches-3.0/070_bcm63xx_enet_vlan_incoming_fixed.patch @ 27192

Last change on this file since 27192 was 27192, checked in by florian, 5 years ago

bcm63xx: Add support for Linux 3.0-rc3

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@…>

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

    a b static int compute_hw_mtu(struct bcm_ene 
    15161516        actual_mtu = mtu; 
    15171517 
    15181518        /* add ethernet header + vlan tag size */ 
    1519         actual_mtu += VLAN_ETH_HLEN; 
     1519        actual_mtu += VLAN_ETH_HLEN + VLAN_HLEN; 
    15201520 
    15211521        if (actual_mtu < 64 || actual_mtu > BCMENET_MAX_MTU) 
    15221522                return -EINVAL; 
Note: See TracBrowser for help on using the repository browser.