[brcm63xx] Profiles: GW6X00: Replace ext2 module with ext4 as ext2 and 3 are going...
[openwrt.git] / target / linux / brcm63xx / patches-2.6.35 / 070_bcm63xx_enet_vlan_incoming_fixed.patch
1 --- a/drivers/net/bcm63xx_enet.c
2 +++ b/drivers/net/bcm63xx_enet.c
3 @@ -1520,7 +1520,7 @@ static int compute_hw_mtu(struct bcm_ene
4 actual_mtu = mtu;
5
6 /* add ethernet header + vlan tag size */
7 - actual_mtu += VLAN_ETH_HLEN;
8 + actual_mtu += VLAN_ETH_HLEN + VLAN_HLEN;
9
10 if (actual_mtu < 64 || actual_mtu > BCMENET_MAX_MTU)
11 return -EINVAL;
This page took 0.045727 seconds and 5 git commands to generate.