commit | 54eff26331d796568db35376071d9ce26795ddc9 | [log] [tgz] |
---|---|---|
author | Jeff Martin <martinjeffrey@google.com> | Fri Mar 17 20:02:40 2023 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Mar 17 20:02:40 2023 +0000 |
tree | 3058ad4f41484a405729471e33ce8dd5bc756ccc | |
parent | 40d1f623c4b50a85a36adfb979f122ac4979fb70 [diff] |
[netstack3] Sort the forwarding table by metric When adding new entries to the forwarding table, sort them by longest prefix, lowest metric, locality (onlink before offlink), and finally their insertion order. Fixed: 122489 Change-Id: I3a133a35de32d067f3865ae29a38f2dc1d72409d Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/817647 Fuchsia-Auto-Submit: Jeff Martin <martinjeffrey@google.com> Reviewed-by: Ghanan Gowripalan <ghanan@google.com> Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com>
Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.
We expect everyone interacting with our project to respect our code of conduct.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.