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)
Wed, Nov 6, 3:35 PM
Unknown Object (File)
Wed, Nov 6, 3:35 PM
Unknown Object (File)
Wed, Nov 6, 3:35 PM
Unknown Object (File)
Tue, Nov 5, 3:13 AM
Unknown Object (File)
Sep 24 2024, 3:03 PM
Unknown Object (File)
Sep 22 2024, 7:25 PM
Unknown Object (File)
Sep 22 2024, 1:58 AM
Unknown Object (File)
Sep 19 2024, 2:11 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 49756
Build 46646: arc lint + arc unit