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)
Tue, Dec 17, 9:45 AM
Unknown Object (File)
Tue, Dec 17, 9:34 AM
Unknown Object (File)
Tue, Dec 17, 6:37 AM
Unknown Object (File)
Dec 14 2024, 8:14 PM
Unknown Object (File)
Nov 26 2024, 7:39 PM
Unknown Object (File)
Nov 19 2024, 11:03 AM
Unknown Object (File)
Nov 19 2024, 9:52 AM
Unknown Object (File)
Nov 18 2024, 10:15 AM
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