OpenWrt – Blame information for rev 2
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | --- a/drivers/net/ethernet/broadcom/bcm63xx_enet.c |
2 | +++ b/drivers/net/ethernet/broadcom/bcm63xx_enet.c |
||
3 | @@ -1635,7 +1635,7 @@ static int compute_hw_mtu(struct bcm_ene |
||
4 | actual_mtu = mtu; |
||
5 | |||
6 | /* add ethernet header + vlan tag size */ |
||
7 | - actual_mtu += VLAN_ETH_HLEN; |
||
8 | + actual_mtu += VLAN_ETH_HLEN + VLAN_HLEN; |
||
9 | |||
10 | if (actual_mtu < 64 || actual_mtu > BCMENET_MAX_MTU) |
||
11 | return -EINVAL; |