atheros: fix FIS directory parsing on Top Boot flash chips
[openwrt.git] / target / linux / brcm63xx / patches-2.6.30 / 070_bcm63xx_enet_vlan_incoming_fixed.patch
1 Index: linux-2.6.30.10/drivers/net/bcm63xx_enet.c
2 ===================================================================
3 --- linux-2.6.30.10.orig/drivers/net/bcm63xx_enet.c 2010-02-18 12:57:05.332799586 -0500
4 +++ linux-2.6.30.10/drivers/net/bcm63xx_enet.c 2010-02-18 12:57:53.954051082 -0500
5 @@ -1520,7 +1520,7 @@
6 actual_mtu = mtu;
7
8 /* add ethernet header + vlan tag size */
9 - actual_mtu += VLAN_ETH_HLEN;
10 + actual_mtu += VLAN_ETH_HLEN + VLAN_HLEN;
11
12 if (actual_mtu < 64 || actual_mtu > BCMENET_MAX_MTU)
13 return -EINVAL;
This page took 0.048527 seconds and 5 git commands to generate.