diff options
| author | Pouria Mousavizadeh Tehrani <pouria@FreeBSD.org> | 2026-09-18 10:09:43 +0000 |
|---|---|---|
| committer | Pouria Mousavizadeh Tehrani <pouria@FreeBSD.org> | 2026-09-18 10:43:05 +0000 |
| commit | 63343822430453f4add20bcbfa134c99132361df (patch) | |
| tree | 51f7f2fcb5217a158df12f86ceccb36984ff3215 /sys/arm64/include/(developers-only) | |
| parent | ef821f9ba66af44cd7a760451ecd706cd24b1ecb (diff) | |
fib_algo indexes its idx->nhop array by the nexthop index with
assumption of its uniqueness. Which is true except for IPv4 over
IPv6 nexthops.
Give each index space its own segment within the same array and
offset the index by the segment base. Segments are created on demand
and sized independently, so the rib's own family keeps base 0 and
tables without cross-family nexthops index exactly as before.
Reviewed by: melifaro
Discussed with: markj
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D59552
Diffstat (limited to 'sys/arm64/include/(developers-only)')
0 files changed, 0 insertions, 0 deletions
