Page MenuHomeFreeBSD

routing: Fix table sizes
ClosedPublic

Authored by des on Thu, Aug 13, 2:41 PM.
Tags
None
Referenced Files
F168370836: D58826.diff
Thu, Aug 27, 8:06 PM
F168370402: D58826.diff
Thu, Aug 27, 8:01 PM
Unknown Object (File)
Tue, Aug 25, 12:52 PM
Unknown Object (File)
Tue, Aug 25, 4:46 AM
Unknown Object (File)
Mon, Aug 24, 3:04 PM
Unknown Object (File)
Sun, Aug 23, 9:40 PM
Unknown Object (File)
Sun, Aug 23, 5:29 AM
Unknown Object (File)
Sat, Aug 22, 10:25 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