net/hyperv: use skb_vlan_tag_*() helpers
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Tue, 20 Nov 2018 12:20:32 +0000 (13:20 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Nov 2018 23:41:30 +0000 (15:41 -0800)
commit98ba780e4c71b9a66fa5819184879315a946aabb
tree9b4c683eb3c656ab5f67b19d1aca1a974bcd38fe
parenta2e768b861108d846b6df21074cff738660b45b7
net/hyperv: use skb_vlan_tag_*() helpers

Replace open-coded bitfield manipulation with skb_vlan_tag_*() helpers.
This also enables correctly passing of VLAN.CFI bit.

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/netvsc_drv.c