diff options
author | Jonas Gorski <jogo@openwrt.org> | 2012-03-28 20:42:09 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2012-03-28 20:42:09 +0000 |
commit | f6e63fd14181a502cde4145d41a182997cbbb163 (patch) | |
tree | e59a26a240aaec8d9d12c89cf89a867dc05fcad3 /target/linux/brcm63xx/patches-3.3/406_bcm63xx_enet_vlan_incoming_fixed.patch | |
parent | 145aa980fe699f4ecf18bd3e84f4ea581e14cb9e (diff) | |
download | upstream-f6e63fd14181a502cde4145d41a182997cbbb163.tar.gz upstream-f6e63fd14181a502cde4145d41a182997cbbb163.tar.bz2 upstream-f6e63fd14181a502cde4145d41a182997cbbb163.zip |
bcm63xx: reorder patches
Reorder patches for a clearer distinction between the purposes of
the different patches.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31127 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/patches-3.3/406_bcm63xx_enet_vlan_incoming_fixed.patch')
-rw-r--r-- | target/linux/brcm63xx/patches-3.3/406_bcm63xx_enet_vlan_incoming_fixed.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/patches-3.3/406_bcm63xx_enet_vlan_incoming_fixed.patch b/target/linux/brcm63xx/patches-3.3/406_bcm63xx_enet_vlan_incoming_fixed.patch new file mode 100644 index 0000000000..7d9f4a96d1 --- /dev/null +++ b/target/linux/brcm63xx/patches-3.3/406_bcm63xx_enet_vlan_incoming_fixed.patch @@ -0,0 +1,11 @@ +--- a/drivers/net/ethernet/broadcom/bcm63xx_enet.c ++++ b/drivers/net/ethernet/broadcom/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; |