P J P aa4a3dce1c net: vmxnet3: avoid memory leakage in activate_device
Vmxnet3 device emulator does not check if the device is active
before activating it, also it did not free the transmit & receive
buffers while deactivating the device, thus resulting in memory
leakage on the host. This patch fixes both these issues to avoid
host memory leakage.

Reported-by: Qinghao Tang <luodalongde@gmail.com>
Reviewed-by: Dmitry Fleytman <dmitry@daynix.com>
Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
Cc: qemu-stable@nongnu.org
Signed-off-by: Jason Wang <jasowang@redhat.com>
2016-01-11 11:01:34 +08:00
..
2015-09-11 10:45:43 +03:00
2015-11-11 18:56:26 +01:00
2015-12-07 14:18:31 +00:00
2015-11-27 10:39:55 +08:00
2015-10-27 15:59:46 +00:00
2015-07-27 14:12:18 +01:00
2015-09-07 10:39:30 +01:00
2015-09-02 14:51:07 +01:00
2015-09-02 14:51:07 +01:00
2015-07-27 14:12:18 +01:00
2015-07-27 14:12:18 +01:00
2015-09-25 14:53:29 +02:00