macvtap: do not assume 802.1Q when send vlan packets
authorJason Wang <jasowang@redhat.com>
Tue, 16 Jul 2013 05:36:34 +0000 (13:36 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Jul 2013 20:01:57 +0000 (13:01 -0700)
commit0fbe0d47b1ee2015c288abd4e7b32224f8bfa212
treeaa267745771e6bdbe09e2200e1fda93b75bebbd1
parent82a19eb8c02ab98bfe0bf6fa4915de370acb2858
macvtap: do not assume 802.1Q when send vlan packets

The hard-coded 8021.q proto will break 802.1ad traffic. So switch to use
vlan->proto.

Cc: Basil Gor <basil.gor@gmail.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macvtap.c