diff options
author | Doug Moore <dougm@FreeBSD.org> | 2025-07-10 08:14:07 +0000 |
---|---|---|
committer | Doug Moore <dougm@FreeBSD.org> | 2025-07-10 08:14:07 +0000 |
commit | 8adb3acb63ee8e7c20c3da497a9640c481bc7612 (patch) | |
tree | c5b5b9e2209cd08f18f4dc48f97add0c4dd74178 /share/me/(developers-only) | |
parent | 78935fa40eee14aab1c6de676a1017bcabdf5fa1 (diff) |
If pctrie_lookup_iter_ge fails to return a node, the iterator is left
with NULL as the current node. Instead, make the pctrie_root the
current node when the pctrie has an internalnode. Do the same thing
for lookup_iter_le. If an iterator is reused after a ge/le lookup
fails, this will skip the step in _pctrie_lookup_node where a NULL is
replaced by the node at the top of the trie.
Reviewed by: alc
Differential Revision: https://reviews.freebsd.org/D51232
Diffstat (limited to 'share/me/(developers-only)')
0 files changed, 0 insertions, 0 deletions