Page MenuHomeFreeBSD

libifconfig: Fix table size
ClosedPublic

Authored by des on Aug 13 2026, 2:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Sep 20, 7:06 AM
Unknown Object (File)
Fri, Sep 18, 4:22 PM
Unknown Object (File)
Thu, Sep 17, 5:56 PM
Unknown Object (File)
Thu, Sep 17, 4:17 AM
Unknown Object (File)
Sat, Sep 12, 3:26 PM
Unknown Object (File)
Fri, Sep 11, 1:44 AM
Unknown Object (File)
Sat, Sep 5, 8:39 PM
Unknown Object (File)
Sat, Sep 5, 7:50 PM
Subscribers

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