HomeFreeBSD

locks: add a runtime check for missing turnstile

Description

locks: add a runtime check for missing turnstile

There are sometimes bugs which result in the unlock fast path failing,
which in turns causes a not-helpful crash report when dereferencing a
NULL turnstile. Help debugging such cases by pointing out what happened
along with some debug.

Sponsored by: Rubicon Communications, LLC ("Netgate")

Details

Provenance
mjgAuthored on Jul 11 2024, 12:17 AM
Parents
rGaf84665261ff: tcp: whitespace cleanup of enum tcp_log_events
Branches
Unknown
Tags
Unknown