summaryrefslogtreecommitdiffstats
path: root/qapi
diff options
context:
space:
mode:
authorYuri Benditovich2020-11-12 10:46:53 +0100
committerJason Wang2020-11-24 03:40:17 +0100
commitd2abc563e4ba4057b9cb5c04dd203b8c3a949115 (patch)
tree613ed56084bc64f69acc6ff89aa76af7fc5317ab /qapi
parentnet: do not exit on "netdev_add help" monitor command (diff)
downloadqemu-d2abc563e4ba4057b9cb5c04dd203b8c3a949115.tar.gz
qemu-d2abc563e4ba4057b9cb5c04dd203b8c3a949115.tar.xz
qemu-d2abc563e4ba4057b9cb5c04dd203b8c3a949115.zip
net: purge queued rx packets on queue deletion
https://bugzilla.redhat.com/show_bug.cgi?id=1829272 When deleting queue pair, purge pending RX packets if any. Example of problematic flow: 1. Bring up q35 VM with tap (vhost off) and virtio-net or e1000e 2. Run ping flood to the VM NIC ( 1 ms interval) 3. Hot unplug the NIC device (device_del) During unplug process one or more packets come, the NIC can't receive, tap disables read_poll 4. Hot plug the device (device_add) with the same netdev The tap stays with read_poll disabled and does not receive any packets anymore (tap_send never triggered) Signed-off-by: Yuri Benditovich <yuri.benditovich@daynix.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'qapi')
0 files changed, 0 insertions, 0 deletions