- 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
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 40915 Build 37804: arc lint + arc unit