HomeFreeBSD

xen/evtchn: fix LOR in evtchn device

Description

xen/evtchn: fix LOR in evtchn device

Remove the device from the list before unbinding it. Doing it in this
order allows calling xen_intr_unbind without holding the bind_mutex
lock.

Sponsored by: Citrix Systems R&D

Details

Provenance
roygerAuthored on
Parents
rS334145: xen-blkback: don't unbind the interrupt while holding the lock
Branches
Unknown
Tags
Unknown