- Consistently use nh instead of always dereferencing ro->ro_nh inside the if block.
- Always use nexthop mtu, as it provides guarantee that mtu is accurate.
- Pass nh pointer to rt_update_ro_flags() to allow upcoming uses of updating ro flags based on different nexthop.
Details
Details
- Reviewers
kp - Group Reviewers
network - Commits
- rG10e097610309: Simplify nhop operations in ip_output().
rG9748eb742791: Simplify nhop operations in ip_output().
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable