HomeFreeBSD

sx: unset td_wantedlock around going to sleep

Description

sx: unset td_wantedlock around going to sleep

Otherwise it can crash in sleepq_wait_sig -> sleepq_catch_signals ->
sig_ast_checksusp -> thread_suspend_check due to a mutex acquire.

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

Details

Provenance
mjgAuthored on Oct 23 2023, 5:22 PM
Parents
rG7b2ab18fbada: pf/netlink: explicitly include sys/ucred.h to provide struct ucred definition
Branches
Unknown
Tags
Unknown