summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/clock
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2016-05-30 07:50:10 -0600
committerAlex Williamson <alex.williamson@redhat.com>2016-05-30 07:50:10 -0600
commit956b56a984ddf10aa69b25318dc04430101beed6 (patch)
tree5d698890a0f6ab87af4c647908395f51d30e8356 /Documentation/devicetree/bindings/clock
parent1a695a905c18548062509178b98bc91e67510864 (diff)
vfio/pci: Fix ordering of eventfd vs virqfd shutdown
Both the INTx and MSI/X disable paths do an eventfd_ctx_put() for the trigger eventfd before calling vfio_virqfd_disable() any potential mask and unmask eventfds. This opens a use-after-free race where an inopportune irqfd can reference the freed signalling eventfd. Reorder to avoid this possibility. Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'Documentation/devicetree/bindings/clock')
0 files changed, 0 insertions, 0 deletions