[dpdk-dev] [PATCH v2] net/vhost: stop dev in close and address mem leak

Yuanhan Liu yuanhan.liu at linux.intel.com
Thu Apr 13 03:45:42 CEST 2017


On Thu, Apr 06, 2017 at 05:26:37PM -0700, Sagar Abhang wrote:
> Move the call to stop the device inside the close routine because close
> needs to stop the device if it isn't stopped.
> 
> Free the allocated queue buffers in close instead of doing so in remove.
> Original code had these clean ups in remove which was causing memory
> leak.
> 
> Signed-off-by: Sagar Abhang <sabhang at brocade.com>

Applied to dpdk-next-virtio.

	--yliu


More information about the dev mailing list