Page MenuHomeFreeBSD

libifconfig: Fix table size
ClosedPublic

Authored by des on Thu, Aug 13, 2:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Aug 16, 6:14 PM
Unknown Object (File)
Fri, Aug 14, 12:21 PM
Unknown Object (File)
Fri, Aug 14, 11:45 AM
Unknown Object (File)
Thu, Aug 13, 2:48 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 75566
Build 72449: arc lint + arc unit