HomeFreeBSD

dev/xenstore: fix return with locks held

Description

dev/xenstore: fix return with locks held

Fix returning from xenstore device with locks held, which triggers the
following panic:

cat /dev/xen/xenstore

^C
userret: returning with the following locks held:
exclusive sx evtchn_ringc_sx (evtchn_ringc_sx) r = 0 (0xfffff8000650be40) locked @ /usr/src/sys/dev/xen/evtchn/evtchn_dev.c:262

Note this is not a security issue since access to the device is
limited to root by default.

Sponsored by: Citrix Systems R&D
MFC after: 1 week

Details

Committed
roygerMay 20 2020, 11:01 AM
Parents
rS361273: iwm: improve rfkill handling
Branches
Unknown
Tags
Unknown