Page MenuHomeFreeBSD

tests/netinet/socket_afinet: add more tests to multibind
ClosedPublic

Authored by glebius on Jul 7 2026, 4:36 PM.
Tags
None
Referenced Files
F165997227: D58088.diff
Mon, Aug 10, 9:44 PM
Unknown Object (File)
Mon, Aug 10, 1:15 AM
Unknown Object (File)
Sat, Aug 8, 12:21 PM
Unknown Object (File)
Sat, Aug 8, 9:23 AM
Unknown Object (File)
Mon, Aug 3, 11:32 PM
Unknown Object (File)
Sun, Aug 2, 10:18 PM
Unknown Object (File)
Sat, Aug 1, 5:16 AM
Unknown Object (File)
Fri, Jul 31, 7:12 AM

Details

Summary

Add tests where first socket and second socket are bound to different
addresses, e.g. first specific and second wildcard and vice versa.

Mark success with SO_REUSEPORT on the second socket as a bug suspect.

Mark failure to bind to INADDR_ANY in presence of other UID's specific
bound socket to the same port as probably too strict.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable