Page MenuHomeFreeBSD

netinet6: allow binding a raw socket to an anycast address
ClosedPublic

Authored by ivy on May 20 2025, 10:09 PM.
Tags
None
Referenced Files
F170132554: D50438.id158091.diff
Thu, Sep 3, 2:56 PM
F170109994: D50438.diff
Thu, Sep 3, 1:17 PM
F170094402: D50438.id.diff
Thu, Sep 3, 12:05 PM
F170014166: D50438.id158528.diff
Thu, Sep 3, 6:15 AM
Unknown Object (File)
Thu, Sep 3, 3:05 AM
Unknown Object (File)
Thu, Sep 3, 1:26 AM
Unknown Object (File)
Wed, Sep 2, 12:15 PM
Unknown Object (File)
Tue, Sep 1, 12:36 PM

Details

Summary

Raw sockets have a separate check for this in rip6_bind() that was
missed in the previous change. This fixes e.g. 'ping -S' using an
anycast address.

Fixes: ca4b046105f6 ("netinet6: allow binding to anycast addresses")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 65250
Build 62133: arc lint + arc unit

Event Timeline

ivy requested review of this revision.May 20 2025, 10:09 PM

Do we have a test case for this?

This revision is now accepted and ready to land.Jul 7 2025, 5:17 AM
ivy retitled this revision from netinet6: allow binding a raw socket to any anycast address to netinet6: allow binding a raw socket to an anycast address.Jul 7 2025, 11:02 AM
In D50438#1168546, @des wrote:

Do we have a test case for this?

ask and ye shall receive.

This revision now requires review to proceed.Jul 7 2025, 11:03 AM
This revision is now accepted and ready to land.Jul 7 2025, 11:09 AM