diff options
author | Stefan Fritsch <sf@sfritsch.de> | 2014-03-26 18:29:52 +0800 |
---|---|---|
committer | Michael Roth <mdroth@linux.vnet.ibm.com> | 2014-06-25 15:28:50 -0500 |
commit | 11088abadf88c39dc87b9cb0d7b4fbfdbe8df810 (patch) | |
tree | 9b7a89a41c7a05cb5937db22d7d3903ec21763c8 /hw/net/stellaris_enet.c | |
parent | 0fd56fb8443d52a20d6bd8b4b543c4a8f9d0756d (diff) |
virtio-net: Do not filter VLANs without F_CTRL_VLAN
If VIRTIO_NET_F_CTRL_VLAN is not negotiated, do not filter out all
VLAN-tagged packets but send them to the guest.
This fixes VLANs with OpenBSD guests (and probably NetBSD, too, because
the OpenBSD driver started as a port from NetBSD).
Signed-off-by: Stefan Fritsch <sf@sfritsch.de>
Signed-off-by: Amos Kong <akong@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
(cherry picked from commit 0b1eaa8803e680de9a05727355dfe3d306b81e17)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'hw/net/stellaris_enet.c')
0 files changed, 0 insertions, 0 deletions