62753069751e0dbdf7ad896c09a521a803915cb7
[openwrt/openwrt.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 @@ -1636,7 +1636,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