HomeFreeBSD

Consistently use the SOLISTENING() macro

Description

Consistently use the SOLISTENING() macro

Some code was using it already, but in many places we were testing
SO_ACCEPTCONN directly. As a small step towards fixing some bugs
involving synchronization with listen(2), make the kernel consistently
use SOLISTENING(). No functional change intended.

Sponsored by: The FreeBSD Foundation

(cherry picked from commit f4bb1869ddd2bca89b6b6bfaf4d866efdd9243cf)

Details

Provenance
markjAuthored on Jun 14 2021, 9:32 PM
Parents
rG4a77ce73eadf: amd64: Fix propagation of LDT updates
Branches
Unknown
Tags
Unknown