diff options
| -rw-r--r-- | drivers/net/macvtap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index 0e5492ec753a..a7c5654a2e5c 100644 --- a/drivers/net/macvtap.c +++ b/drivers/net/macvtap.c | |||
| @@ -873,7 +873,7 @@ static ssize_t macvtap_put_user(struct macvtap_queue *q, | |||
| 873 | __be16 h_vlan_proto; | 873 | __be16 h_vlan_proto; |
| 874 | __be16 h_vlan_TCI; | 874 | __be16 h_vlan_TCI; |
| 875 | } veth; | 875 | } veth; |
| 876 | veth.h_vlan_proto = htons(ETH_P_8021Q); | 876 | veth.h_vlan_proto = skb->vlan_proto; |
| 877 | veth.h_vlan_TCI = htons(vlan_tx_tag_get(skb)); | 877 | veth.h_vlan_TCI = htons(vlan_tx_tag_get(skb)); |
| 878 | 878 | ||
| 879 | vlan_offset = offsetof(struct vlan_ethhdr, h_vlan_proto); | 879 | vlan_offset = offsetof(struct vlan_ethhdr, h_vlan_proto); |
