aboutsummaryrefslogtreecommitdiff
path: root/qemu-bridge-helper.c
diff options
context:
space:
mode:
authorHawkins Jiawei <yin31149@gmail.com>2023-07-23 20:09:11 +0800
committerMichael S. Tsirkin <mst@redhat.com>2023-10-04 04:54:07 -0400
commit06b636a1e2ad12ab130edcbb0ccf995118440706 (patch)
treee82fe9d4a9b6ced2df672bf5d320500329fe8ef4 /qemu-bridge-helper.c
parentf92a2d61cd86fd585b1b2a57295fcde278aebd78 (diff)
downloadqemu-06b636a1e2ad12ab130edcbb0ccf995118440706.zip
qemu-06b636a1e2ad12ab130edcbb0ccf995118440706.tar.gz
qemu-06b636a1e2ad12ab130edcbb0ccf995118440706.tar.bz2
virtio-net: do not reset vlan filtering at set_features
This function is called after virtio_load, so all vlan configuration is lost in migration case. Just allow all the vlan-tagged packets if vlan is not configured, and trust device reset to clear all filtered vlans. Fixes: 0b1eaa8803 ("virtio-net: Do not filter VLANs without F_CTRL_VLAN") Signed-off-by: Eugenio Pérez <eperezma@redhat.com> Reviewed-by: Hawkins Jiawei <yin31149@gmail.com> Signed-off-by: Hawkins Jiawei <yin31149@gmail.com> Message-Id: <95af0d013281282f48ad3f47f6ad1ac4ca9e52eb.1690106284.git.yin31149@gmail.com> Tested-by: Lei Yang <leiyang@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'qemu-bridge-helper.c')
0 files changed, 0 insertions, 0 deletions