diff options
| author | P J P | 2015-12-15 07:57:54 +0100 |
|---|---|---|
| committer | Jason Wang | 2016-01-11 04:01:34 +0100 |
| commit | aa4a3dce1c88ed51b616806b8214b7c8428b7470 (patch) | |
| tree | fdec96d954bc34e9de9e236b9e88b189ed8cdd10 /include/exec/user | |
| parent | net/vmxnet3: remove redundant VMW_SHPRN(...) definition (diff) | |
| download | qemu-aa4a3dce1c88ed51b616806b8214b7c8428b7470.tar.gz qemu-aa4a3dce1c88ed51b616806b8214b7c8428b7470.tar.xz qemu-aa4a3dce1c88ed51b616806b8214b7c8428b7470.zip | |
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>
Diffstat (limited to 'include/exec/user')
0 files changed, 0 insertions, 0 deletions
