HomeFreeBSD

sysctl net.inet.tcp.ktlslist: allow snd_tag_status_str() to sleep

Description

sysctl net.inet.tcp.ktlslist: allow snd_tag_status_str() to sleep

For this, unlock inp around the calls, taking the reference on it. If
the inp appears to be freed or unlinked after the relock, return
EDEADLK.

Reviewed by: glebius, markj
Sponsored by: Nvidia networking
Differential revision: https://reviews.freebsd.org/D51143

Details

Provenance
kibAuthored on Jul 3 2025, 10:37 AM
Reviewer
glebius
Differential Revision
D51143: sysctl net.inet.tcp.ktlslist: allow snd_tag_status_str() to sleep
Parents
rG1b7d0c2ee947: in_pcb: add in_pcbrele_rlock()
Branches
Unknown
Tags
Unknown