aboutsummaryrefslogtreecommitdiff
path: root/tests/sys/netgraph/(developers-only)
diff options
context:
space:
mode:
authorPouria Mousavizadeh Tehrani <pouria@FreeBSD.org>2026-09-18 10:09:43 +0000
committerPouria Mousavizadeh Tehrani <pouria@FreeBSD.org>2026-09-18 10:43:05 +0000
commit63343822430453f4add20bcbfa134c99132361df (patch)
tree51f7f2fcb5217a158df12f86ceccb36984ff3215 /tests/sys/netgraph/(developers-only)
parentef821f9ba66af44cd7a760451ecd706cd24b1ecb (diff)
route/fib_algo: Fix nexthop index collision across familiesHEADmain
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 'tests/sys/netgraph/(developers-only)')
0 files changed, 0 insertions, 0 deletions