HomeFreeBSD

ast: do not dereference NULL td_proc in CTR statement

Description

ast: do not dereference NULL td_proc in CTR statement

If ast is called to clean up thread, as in ast_kclear(), td_proc is
NULL. Guard against derefencing it in the trace.

Reported by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Details

Provenance
kibAuthored on Jul 14 2025, 9:54 PM
Parents
rG25c6d4710f1c: amd64 pmap: add KVA map for LA57
Branches
Unknown
Tags
Unknown