mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 09:40:58 +07:00
[VLAN] vlan_dev: Use skb_reset_network_header().
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
afdf27c956
commit
be8bd86321
@ -382,7 +382,7 @@ int vlan_dev_hard_header(struct sk_buff *skb, struct net_device *dev,
|
||||
}
|
||||
|
||||
skb->protocol = htons(ETH_P_8021Q);
|
||||
skb->nh.raw = skb->data;
|
||||
skb_reset_network_header(skb);
|
||||
}
|
||||
|
||||
/* Before delegating work to the lower layer, enter our MAC-address */
|
||||
|
Loading…
Reference in New Issue
Block a user