diff options
author | Alex Williamson <alex.williamson@redhat.com> | 2020-06-16 15:26:36 -0600 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2020-06-17 15:18:42 -0600 |
commit | 5c5866c593bbd444d0339ede6a8fb5f14ff66d72 (patch) | |
tree | 50fc4e075bbd78d84d2c1d65785f96aef6c77dbb /include/uapi | |
parent | b3a9e3b9622ae10064826dccb4f7a52bd88c7407 (diff) | |
download | linux-5c5866c593bbd444d0339ede6a8fb5f14ff66d72.tar.bz2 |
vfio/pci: Clear error and request eventfd ctx after releasing
The next use of the device will generate an underflow from the
stale reference.
Cc: Qian Cai <cai@lca.pw>
Fixes: 1518ac272e78 ("vfio/pci: fix memory leaks of eventfd ctx")
Reported-by: Daniel Wagner <dwagner@suse.de>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Tested-by: Daniel Wagner <dwagner@suse.de>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions