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)
May 2 2024, 6:48 AM
Unknown Object (File)
Apr 27 2024, 1:36 AM
Unknown Object (File)
Apr 27 2024, 1:36 AM
Unknown Object (File)
Apr 27 2024, 1:36 AM
Unknown Object (File)
Apr 26 2024, 11:52 PM
Unknown Object (File)
Dec 20 2023, 6:24 AM
Unknown Object (File)
Dec 11 2023, 6:36 AM
Unknown Object (File)
Dec 1 2023, 1:12 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