qemu-stable
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-stable] [Qemu-devel] [PATCH] net: reduce the unnecessary memor


From: Jason Wang
Subject: Re: [Qemu-stable] [Qemu-devel] [PATCH] net: reduce the unnecessary memory allocation of multiqueue
Date: Fri, 22 Feb 2013 22:59:07 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2

On 02/22/2013 09:18 PM, Anthony Liguori wrote:
> Stefan Hajnoczi <address@hidden> writes:
>
>> On Thu, Feb 21, 2013 at 05:45:57PM +0800, Jason Wang wrote:
>>> @@ -1397,6 +1398,7 @@ void virtio_net_exit(VirtIODevice *vdev)
>>>  
>>>      g_free(n->mac_table.macs);
>>>      g_free(n->vlans);
>>> +    g_free(n->vqs);
>>>  
>>>      for (i = 0; i < n->max_queues; i++) {
>>>          VirtIONetQueue *q = &n->vqs[i];
>> Use after free!
> Ah, this was it :-)
>
> Regards,
>
> Anthony Liguori
>

Will post V2.

Thanks



reply via email to

[Prev in Thread] Current Thread [Next in Thread]