mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-07 04:09:21 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue