Page MenuHomeFreeBSD

routing: Fix table sizes
ClosedPublic

Authored by des on Aug 13 2026, 2:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Sep 24, 4:25 PM
Unknown Object (File)
Thu, Sep 24, 6:44 AM
Unknown Object (File)
Sun, Sep 20, 6:22 PM
Unknown Object (File)
Sun, Sep 20, 2:38 PM
Unknown Object (File)
Sun, Sep 13, 7:16 PM
Unknown Object (File)
Sat, Sep 5, 8:00 AM
Unknown Object (File)
Fri, Sep 4, 10:57 PM
Unknown Object (File)
Fri, Sep 4, 10:54 PM

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 Not Applicable
Unit
Tests Not Applicable