Page MenuHomeFreeBSD

netinet: Remove IP(V6)_BINDMULTI
ClosedPublic

Authored by markj on Feb 13 2023, 11:17 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 28, 8:12 PM
Unknown Object (File)
Dec 12 2024, 1:07 PM
Unknown Object (File)
Dec 1 2024, 12:31 AM
Unknown Object (File)
Nov 26 2024, 3:52 AM
Unknown Object (File)
Nov 26 2024, 3:50 AM
Unknown Object (File)
Nov 26 2024, 3:48 AM
Unknown Object (File)
Nov 20 2024, 9:03 AM
Unknown Object (File)
Nov 10 2024, 3:49 AM
Subscribers

Details

Summary

This option was added in commit 0a100a6f1ee5 but was never completed.
In particular, there is no logic to map flowids to different listening
sockets, so it accomplishes basically the same thing as SO_REUSEPORT.
Meanwhile, we've since added SO_REUSEPORT_LB, which at least tries to
balance among listening sockets using a hash of the 4-tuple and some
optional NUMA policy.

The option was never documented or completed, and an exp-run revealed
nothing using it (or librss) in the ports tree. Moreover, it
complicates the already very complicated in_pcbbind_setup(), and the
checking in in_pcbbind_check_bindmulti() is insufficient. So, let's
remove it.

Sponsored by: Klara, Inc.
Sponsored by: Modirum MDPay

Diff Detail

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