diff --git a/net/core/skbuff.c b/net/core/skbuff.c index 152b9c70e25255f1c104c00db3867fd6b21bfa99..5cc43d37a4a26b24f18e9fd4a48746e85045a9ac 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c @@ -4268,7 +4268,7 @@ static struct sk_buff *skb_reorder_vlan_header(struct sk_buff *skb) return NULL; } - memmove(skb->data - ETH_HLEN, skb->data - skb->mac_len, + memmove(skb->data - ETH_HLEN, skb->data - skb->mac_len - VLAN_HLEN, 2 * ETH_ALEN); skb->mac_header += VLAN_HLEN; return skb;