summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2019-05-01 01:49:28 +0300
committerAlex Williamson <alex.williamson@redhat.com>2019-05-07 20:23:13 +0300
commit60e7f2c3fe9919cee9534b422865eed49f4efb15 (patch)
treea254a69e9d27acf938c3a85755a8a7927a9c87bb /tools/perf/scripts/python/export-to-postgresql.py
parent2c85f2bd519457073444ec28bbb4743a4e4237a7 (diff)
downloadlinux-60e7f2c3fe9919cee9534b422865eed49f4efb15.tar.xz
vfio/mdev: Avoid release parent reference during error path
During mdev parent registration in mdev_register_device(), if parent device is duplicate, it releases the reference of existing parent device. This is incorrect. Existing parent device should not be touched. Fixes: 7b96953bc640 ("vfio: Mediated device Core driver") Reviewed-by: Cornelia Huck <cohuck@redhat.com> Reviewed-by: Kirti Wankhede <kwankhede@nvidia.com> Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com> Signed-off-by: Parav Pandit <parav@mellanox.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions