On 2017年04月26日 18:45, wangyunjian wrote:
-Original Message-
From: Jason Wang [mailto:jasow...@redhat.com]
Sent: Wednesday, April 26, 2017 5:18 PM
To: wangyunjian ; m...@redhat.com; qemu-devel@nongnu.org
Cc: caihe
Subject: Re: [Qemu-devel] [PATCH] virtio-net: fix wild pointer when
> -Original Message-
> From: Jason Wang [mailto:jasow...@redhat.com]
> Sent: Wednesday, April 26, 2017 5:18 PM
> To: wangyunjian ; m...@redhat.com;
> qemu-devel@nongnu.org
> Cc: caihe
> Subject: Re: [Qemu-devel] [PATCH] virtio-net: fix wild pointer when remove
On 2017年04月26日 14:45, Yunjian Wang wrote:
The tx_bh or tx_timer will free in virtio_net_del_queue() function, when
removing virtio-net queues if the guest doesn't support multiqueue. But
it might be still referenced by virtio_net_set_status(), which needs to
be set NULL. And also the tx_waiting
The tx_bh or tx_timer will free in virtio_net_del_queue() function, when
removing virtio-net queues if the guest doesn't support multiqueue. But
it might be still referenced by virtio_net_set_status(), which needs to
be set NULL. And also the tx_waiting needs to be set zero to prevent
virtio_net_se