diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2021-12-19 23:30:09 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2021-12-19 23:30:09 +0000 |
commit | e5ee354f31f6bd9db954c8a3f545781188cba650 (patch) | |
tree | 702ce9cb137070e91a69d8b5eae4227eb08a0b3d /sys/arch | |
parent | 76a6da348f6aeb362a1fef371c9599904f6a3066 (diff) |
There are occasions where the walker function in tdb_walk() might
sleep. So holding the tdb_sadb_mtx() when calling walker() is not
allowed. Move the TDB from the TDB-Hash to a temporary list that
is protected by netlock. Then unlock tdb_sadb_mtx and traverse the
list to call the walker.
OK mvs@
Diffstat (limited to 'sys/arch')
0 files changed, 0 insertions, 0 deletions