Page MenuHomeFreeBSD

routing: Fix table sizes
ClosedPublic

Authored by des on Aug 13 2026, 2:41 PM.
Tags
None
Referenced Files
F174193858: D58826.diff
Thu, Oct 1, 6:58 AM
Unknown Object (File)
Tue, Sep 29, 5:28 PM
Unknown Object (File)
Tue, Sep 29, 5:28 PM
Unknown Object (File)
Tue, Sep 29, 3:39 PM
Unknown Object (File)
Mon, Sep 28, 7:33 PM
Unknown Object (File)
Mon, Sep 28, 10:57 AM
Unknown Object (File)
Thu, Sep 24, 4:25 PM
Unknown Object (File)
Thu, Sep 24, 6:44 AM

Details

Summary

Tables that have one element per protocol or address family were
previously sized by AF_MAX + 1 since AF_MAX was off by one. Now that
AF_MAX has been corrected, we need to apply the opposite correction to
these tables.

Fixes: ddd850aa7720 ("sys/socket.h: Fix AF_MAX")
MFC after: 3 days
Sponsored by: Klara, Inc.
Sponsored by: NetApp, Inc.

Diff Detail

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