Re: [PATCH] vfio/pci: Clear error and request eventfd ctx after releasing

From: Daniel Wagner
Date: Wed Jun 17 2020 - 02:51:19 EST


Hi Alex,

On Tue, Jun 16, 2020 at 03:26:36PM -0600, Alex Williamson wrote:
> The next use of the device will generate an underflow from the
> stale reference.
>
> Cc: Qian Cai <cai@xxxxxx>
> Fixes: 1518ac272e78 ("vfio/pci: fix memory leaks of eventfd ctx")
> Reported-by: Daniel Wagner <dwagner@xxxxxxx>
> Signed-off-by: Alex Williamson <alex.williamson@xxxxxxxxxx>

Thanks for the quick fix. I gave it a try and the warning is gone.

Tested-by: Daniel Wagner <dwagner@xxxxxxx>

Thanks,
Daniel