Page MenuHomeFreeBSD

netinet6: simplify defrouter_select_fib()
ClosedPublic

Authored by melifaro on Jun 19 2022, 7:14 PM.
Tags
None
Referenced Files
F105524777: D35523.diff
Tue, Dec 17, 6:37 AM
Unknown Object (File)
Sat, Dec 14, 8:14 PM
Unknown Object (File)
Tue, Nov 26, 7:39 PM
Unknown Object (File)
Tue, Nov 19, 11:03 AM
Unknown Object (File)
Tue, Nov 19, 9:52 AM
Unknown Object (File)
Mon, Nov 18, 10:15 AM
Unknown Object (File)
Mon, Nov 18, 10:10 AM
Unknown Object (File)
Sun, Nov 17, 5:50 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