]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit181838fecb18f8dc41bfaa1426b851972a4bcdf8
treeaa267745771e6bdbe09e2200e1fda93b75bebbd1
parent176e47b593e494b106015cfe327d81096a0104c2
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