HomeFreeBSD

Do not hold the sysctl lock across a call to the handler. This fixes a
rS216060Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Do not hold the sysctl lock across a call to the handler. This fixes a
general LOR issue where the sysctl lock had no good place in the
hierarchy. One specific instance is #284 on
http://sources.zabbadoz.net/freebsd/lor.html .

Reviewed by: jhb
MFC after: 1 month
X-MFC-note: split oid_refcnt field for oid_running to preserve KBI

Details

Provenance
mdfAuthored on
Parents
rS216059: Slightly modify the logic in sysctl_find_oid to reduce the indentation.
Branches
Unknown
Tags
Unknown

Event Timeline