macvtap: introduce macvtap_get_vlan()
authorJason Wang <jasowang@redhat.com>
Wed, 5 Jun 2013 23:54:36 +0000 (23:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 8 Jun 2013 06:49:08 +0000 (23:49 -0700)
commit8f475a318aaa37f0168a8ab99f2faa251e5638de
tree799463540c03b1370d6244ee741463a09e34a958
parent1d2f41ed23343e083566339574807ca7ea75dbba
macvtap: introduce macvtap_get_vlan()

Factor out the device holding logic to a macvtap_get_vlan(), this will be also
used by multiqueue API.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macvtap.c