diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-05-27 09:54:48 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-05-27 09:54:48 +0000 |
commit | 4ffe2a80296902445f038a81716f6fa056cdaf01 (patch) | |
tree | 775fc7dda50492d52daa36542dcb2f39073d1281 /target/linux/brcm63xx/patches-2.6.38/070_bcm63xx_enet_vlan_incoming_fixed.patch | |
parent | 540c634db702d5c6007ee44f148b0e66ea095c06 (diff) |
bcm63xx: Add support for 2.6.38
Add support for Kernel 2.6.38, based on 2.6.38.6. Boots fine on a BCM6358.
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27018 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/patches-2.6.38/070_bcm63xx_enet_vlan_incoming_fixed.patch')
-rw-r--r-- | target/linux/brcm63xx/patches-2.6.38/070_bcm63xx_enet_vlan_incoming_fixed.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/patches-2.6.38/070_bcm63xx_enet_vlan_incoming_fixed.patch b/target/linux/brcm63xx/patches-2.6.38/070_bcm63xx_enet_vlan_incoming_fixed.patch new file mode 100644 index 000000000..8211e293b --- /dev/null +++ b/target/linux/brcm63xx/patches-2.6.38/070_bcm63xx_enet_vlan_incoming_fixed.patch @@ -0,0 +1,11 @@ +--- a/drivers/net/bcm63xx_enet.c ++++ b/drivers/net/bcm63xx_enet.c +@@ -1515,7 +1515,7 @@ static int compute_hw_mtu(struct bcm_ene + actual_mtu = mtu; + + /* add ethernet header + vlan tag size */ +- actual_mtu += VLAN_ETH_HLEN; ++ actual_mtu += VLAN_ETH_HLEN + VLAN_HLEN; + + if (actual_mtu < 64 || actual_mtu > BCMENET_MAX_MTU) + return -EINVAL; |