CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2016/06/13 22:42:02
Modified files:
sys/net : art.h art.c rtable.c
Log message:
Convert the links between art data structures used during lookups into srps.
art_lookup and art_match now return an active srp_ref, which the caller must
leave when it's done with the returned route (if any). This allows lookups
to be done without holding any locks.
The art_table and art_node garbage collectors are still responsible for
freeing items removed from the routing table, so they now use srp_finalize
to wait out any active references, and updates are done using srp_swap
operations.
ok dlg@ mpi@