diff options
author | Jonathan Matthew <jmatthew@cvs.openbsd.org> | 2016-06-14 04:42:03 +0000 |
---|---|---|
committer | Jonathan Matthew <jmatthew@cvs.openbsd.org> | 2016-06-14 04:42:03 +0000 |
commit | 21958fea5217d5b30fb32560ba948830705b245e (patch) | |
tree | 1609cab96f941b6bab48e2ff69418a86c0818861 /sys/crypto/key_wrap.c | |
parent | 20417edc63f527fac9f7cf6f8e1a0fc414b784a0 (diff) |
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@
Diffstat (limited to 'sys/crypto/key_wrap.c')
0 files changed, 0 insertions, 0 deletions