Skip to content
Snippets Groups Projects
Commit 9e6b19a6 authored by Leon Huayra's avatar Leon Huayra Committed by Alexei Starovoitov
Browse files

bpf: Fix typo in a comment in bpf lpm_trie.


Fix typo in a comment in trie_update_elem().

Signed-off-by: default avatarLeon Huayra <hffilwlqm@gmail.com>
Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20211229144422.70339-1-hffilwlqm@gmail.com
parent 63d000c3
No related branches found
No related tags found
No related merge requests found
...@@ -412,7 +412,7 @@ static int trie_update_elem(struct bpf_map *map, ...@@ -412,7 +412,7 @@ static int trie_update_elem(struct bpf_map *map,
rcu_assign_pointer(im_node->child[1], node); rcu_assign_pointer(im_node->child[1], node);
} }
/* Finally, assign the intermediate node to the determined spot */ /* Finally, assign the intermediate node to the determined slot */
rcu_assign_pointer(*slot, im_node); rcu_assign_pointer(*slot, im_node);
out: out:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment