Page MenuHomeFreeBSD

netinet6: simplify defrouter_select_fib()
ClosedPublic

Authored by melifaro on Jun 19 2022, 7:14 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Mar 28, 7:10 AM
Unknown Object (File)
Feb 26 2025, 9:47 PM
Unknown Object (File)
Jan 27 2025, 4:59 PM
Unknown Object (File)
Jan 26 2025, 12:23 PM
Unknown Object (File)
Dec 17 2024, 9:45 AM
Unknown Object (File)
Dec 17 2024, 9:34 AM
Unknown Object (File)
Dec 17 2024, 6:37 AM
Unknown Object (File)
Dec 14 2024, 8:14 PM
Subscribers

Details

Summary

Simplify defrouter_select_fib():

  • factor out underlying llenty check into a separate function and use it consistently
  • join epoch once instead of multiple in/out jumps
  • don't execute body when RT_ALL_FIBS supplied

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable