blob: 2425e221a291a5fed065c55cb72fa05cc4b1197c (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- a/drivers/net/ethernet/broadcom/bcm63xx_enet.c
+++ b/drivers/net/ethernet/broadcom/bcm63xx_enet.c
@@ -1631,7 +1631,7 @@ static int bcm_enet_change_mtu(struct ne
return -EBUSY;
/* add ethernet header + vlan tag size */
- actual_mtu += VLAN_ETH_HLEN;
+ actual_mtu += VLAN_ETH_HLEN + VLAN_HLEN;
/*
* setup maximum size before we get overflow mark in
|