Page MenuHomeFreeBSD

routing: refactor #2
ClosedPublic

Authored by melifaro on Aug 8 2022, 12:48 PM.
Tags
None
Referenced Files
F169769774: D36071.id.diff
Wed, Sep 2, 12:35 PM
F169564879: D36071.id108979.diff
Tue, Sep 1, 10:44 PM
Unknown Object (File)
Tue, Sep 1, 2:18 PM
Unknown Object (File)
Tue, Sep 1, 1:10 AM
Unknown Object (File)
Mon, Aug 31, 12:41 PM
Unknown Object (File)
Sun, Aug 30, 10:27 PM
Unknown Object (File)
Sun, Aug 30, 11:33 AM
Unknown Object (File)
Sun, Aug 30, 1:19 AM
Subscribers

Details

Summary
  • Use same filter func (rib_filter_f_t) for nexhtop groups to simplify callbacks.
  • simplify conditional route deletion & remove the need to pass rt_addrinfo to the low-level deletion functions
  • speedup rib_walk_del() by removing an additional per-prefix lookup

MFC after: 1 month

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable