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)
Oct 7 2024, 7:33 AM
Unknown Object (File)
Oct 6 2024, 3:46 AM
Unknown Object (File)
Oct 4 2024, 1:55 AM
Unknown Object (File)
Oct 3 2024, 7:24 AM
Unknown Object (File)
Oct 2 2024, 3:10 PM
Unknown Object (File)
Sep 25 2024, 10:54 PM
Unknown Object (File)
Sep 25 2024, 4:26 AM
Unknown Object (File)
Sep 24 2024, 7:17 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