Page MenuHomeFreeBSD

Refactor rt_addrmsg() and rt_routemsg().
ClosedPublic

Authored by melifaro on Jan 6 2021, 10:57 PM.
Tags
None
Referenced Files
F139558347: D28011.id81780.diff
Sat, Dec 13, 12:06 PM
Unknown Object (File)
Sat, Dec 6, 3:37 PM
Unknown Object (File)
Sat, Nov 29, 12:15 AM
Unknown Object (File)
Nov 13 2025, 12:52 AM
Unknown Object (File)
Nov 13 2025, 12:26 AM
Unknown Object (File)
Nov 13 2025, 12:25 AM
Unknown Object (File)
Nov 13 2025, 12:02 AM
Unknown Object (File)
Nov 7 2025, 2:15 PM
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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.