summaryrefslogtreecommitdiff
path: root/sys/crypto/key_wrap.c
diff options
context:
space:
mode:
authorJonathan Matthew <jmatthew@cvs.openbsd.org>2016-06-14 04:42:03 +0000
committerJonathan Matthew <jmatthew@cvs.openbsd.org>2016-06-14 04:42:03 +0000
commit21958fea5217d5b30fb32560ba948830705b245e (patch)
tree1609cab96f941b6bab48e2ff69418a86c0818861 /sys/crypto/key_wrap.c
parent20417edc63f527fac9f7cf6f8e1a0fc414b784a0 (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