3604910d395c47e4c281b738b9d50efe00c8a2aa
[openwrt/staging/jow.git] / target / linux / brcm63xx / patches-4.14 / 402_bcm63xx_enet_vlan_incoming_fixed.patch
1 --- a/drivers/net/ethernet/broadcom/bcm63xx_enet.c
2 +++ b/drivers/net/ethernet/broadcom/bcm63xx_enet.c
3 @@ -1637,7 +1637,7 @@ static int bcm_enet_change_mtu(struct ne
4 return -EBUSY;
5
6 /* add ethernet header + vlan tag size */
7 - actual_mtu += VLAN_ETH_HLEN;
8 + actual_mtu += VLAN_ETH_HLEN + VLAN_HLEN;
9
10 /*
11 * setup maximum size before we get overflow mark in