summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorP J P2015-12-15 07:57:54 +0100
committerJason Wang2016-01-11 04:01:34 +0100
commitaa4a3dce1c88ed51b616806b8214b7c8428b7470 (patch)
treefdec96d954bc34e9de9e236b9e88b189ed8cdd10 /include/exec
parentnet/vmxnet3: remove redundant VMW_SHPRN(...) definition (diff)
downloadqemu-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')
0 files changed, 0 insertions, 0 deletions