]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitda90bea193461d2046302567a2fc648031beeb9d
tree9b4c683eb3c656ab5f67b19d1aca1a974bcd38fe
parentc0f816a50bd8820531060fc116d758d171c2e42d
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