HomeFreeBSD

getsockopt: improve locking for SOL_SOCKET level socket options

Description

getsockopt: improve locking for SOL_SOCKET level socket options

Ensure SOLISTENING() is done inside SOCK_LOCK()/SOCK_UNLOCK()
for getsockopt() handling of SOL_SOCKET-level socket options.

Reviewed by: markj, rscheff
MFC after: 1 week
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D46881

Details

Provenance
tuexenAuthored on Oct 7 2024, 2:46 PM
Reviewer
markj
Differential Revision
D46881: getsockopt: improve locking for SOL_SOCKET level socket options
Parents
rG816100089283: iflib: Make iflib_stop() static
Branches
Unknown
Tags
Unknown