Re: [PATCH v6 9/9] virtio-net: add peer_deleted check in virtio_net_handle_rx

2021-04-27 Thread Jason Wang
在 2021/4/27 上午11:39, Cindy Lu 写道: During the test, We found this fuction will continue running while the peer is deleted, this will case the crash. so add check for this. Please describe how the issue is reproduced and why qemu_flush_queued_packets() is not a better place to fix that. Tha

[PATCH v6 9/9] virtio-net: add peer_deleted check in virtio_net_handle_rx

2021-04-26 Thread Cindy Lu
During the test, We found this fuction will continue running while the peer is deleted, this will case the crash. so add check for this. Signed-off-by: Cindy Lu --- hw/net/virtio-net.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hw/net/virtio-net.c b/hw/net/virtio-net.