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 | 44d546290ac04ce74b3851cb0d21d598b1130bc3 (patch) | |
tree | 37a8e1f2b48b16992e0883e0eb2463c20be2141b /target/linux/brcm63xx/patches-3.3/406_bcm63xx_enet_vlan_incoming_fixed.patch | |
parent | 13b6ec1d0562c6e97a2e71f58f2cbf93d5ed9c0b (diff) | |
download | mtk-20170518-44d546290ac04ce74b3851cb0d21d598b1130bc3.zip mtk-20170518-44d546290ac04ce74b3851cb0d21d598b1130bc3.tar.gz mtk-20170518-44d546290ac04ce74b3851cb0d21d598b1130bc3.tar.bz2 |
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.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 0000000..7d9f4a9 --- /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; |