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)
Sat, Oct 18, 5:23 AM
Unknown Object (File)
Mon, Oct 13, 12:35 AM
Unknown Object (File)
Thu, Oct 9, 10:43 PM
Unknown Object (File)
Sun, Sep 21, 8:16 PM
Unknown Object (File)
Sun, Sep 21, 7:55 PM
Unknown Object (File)
Sep 20 2025, 3:43 AM
Unknown Object (File)
Sep 15 2025, 6:22 AM
Unknown Object (File)
Sep 8 2025, 5:01 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