]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
xen/evtchn: fix LOR in evtchn device
authorroyger <royger@FreeBSD.org>
Thu, 24 May 2018 10:20:42 +0000 (10:20 +0000)
committerroyger <royger@FreeBSD.org>
Thu, 24 May 2018 10:20:42 +0000 (10:20 +0000)
commite01d888c9d20c94d8a0a067f16aa11671a2cbe56
treee9f277661608d7341ef064d69f70f4b7757ba3cd
parent2fc358d119eb1d905a899730584e180d21e8f924
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
sys/dev/xen/evtchn/evtchn_dev.c