Re: [KVM PATCH v3 1/3] kvm: fix potential coalesced_mmio leak on shutdown

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

 



* Gregory Haskins (ghaskins@xxxxxxxxxx) wrote:
> It would appear that we are invoking kfree() on the wrong pointer in the
> destructor for the coalesced_mmio device.  This could result in a potential
> leak during shutdown.  This works today because the kvm_io_device is
> the first element of the private structure, but this could change in
> the future, so lets clean this up.
> 
> Signed-off-by: Gregory Haskins <ghaskins@xxxxxxxxxx>

Acked-by: Chris Wright <chrisw@xxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux