Page MenuHomeFreeBSD

Refactor rt_addrmsg() and rt_routemsg().
ClosedPublic

Authored by melifaro on Jan 6 2021, 10:57 PM.
Tags
None
Referenced Files
F107088395: D28011.diff
Thu, Jan 9, 10:29 PM
Unknown Object (File)
Sat, Dec 28, 2:41 AM
Unknown Object (File)
Sun, Dec 22, 4:41 AM
Unknown Object (File)
Dec 4 2024, 10:50 PM
Unknown Object (File)
Dec 3 2024, 2:45 AM
Unknown Object (File)
Nov 26 2024, 1:52 PM
Unknown Object (File)
Nov 26 2024, 1:51 PM
Unknown Object (File)
Nov 15 2024, 12:55 AM
Subscribers

Details

Summary
  • Refactor rt_addrmsg(): make V_rt_add_addr_allfibs decision locally.
  • Fix rt_routemsg() and multipath by accepting nexthop instead of interface pointer.
  • Refactor rtsock_routemsg(): avoid accessing rtentry fields directly.
  • Simplify in_addprefix() by moving prefix search to a separate function.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 35981
Build 32870: arc lint + arc unit

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Jan 7 2021, 7:39 PM
This revision was automatically updated to reflect the committed changes.