diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2022-02-04 05:34:02 +0100 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2022-02-06 23:27:13 +0100 |
commit | 5a89edc6fd0b03716ccb77084e8d1a1910f52ab0 (patch) | |
tree | 9f2c066f1aab2cfbffb0d695e1050b8b39f20e0d /proto/radv | |
parent | de6318f70a06854a324b436b3a4cca0b3d60024b (diff) |
Nest: Implement locking of prefix tries during walks
The prune loop may may rebuild the prefix trie and therefore invalidate
walk state for asynchronous walks (used in 'show route in' cmd). Fix it
by adding locking that keeps the old trie in memory until current walks
are done.
In future this could be improved by rebuilding trie walk states (by
lookup for last found prefix) after the prefix trie rebuild.
Diffstat (limited to 'proto/radv')
0 files changed, 0 insertions, 0 deletions