aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-3.3/406_bcm63xx_enet_vlan_incoming_fixed.patch
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2012-03-28 20:42:09 +0000
committerJonas Gorski <jogo@openwrt.org>2012-03-28 20:42:09 +0000
commit44d546290ac04ce74b3851cb0d21d598b1130bc3 (patch)
tree37a8e1f2b48b16992e0883e0eb2463c20be2141b /target/linux/brcm63xx/patches-3.3/406_bcm63xx_enet_vlan_incoming_fixed.patch
parent13b6ec1d0562c6e97a2e71f58f2cbf93d5ed9c0b (diff)
downloadupstream-44d546290ac04ce74b3851cb0d21d598b1130bc3.tar.gz
upstream-44d546290ac04ce74b3851cb0d21d598b1130bc3.tar.bz2
upstream-44d546290ac04ce74b3851cb0d21d598b1130bc3.zip
bcm63xx: reorder patches
Reorder patches for a clearer distinction between the purposes of the different patches. SVN-Revision: 31127
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.patch11
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;