bpf: Fix typo in a comment in bpf lpm_trie.
authorLeon Huayra <hffilwlqm@gmail.com>
Wed, 29 Dec 2021 14:44:22 +0000 (22:44 +0800)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 31 Dec 2021 02:42:34 +0000 (18:42 -0800)
Fix typo in a comment in trie_update_elem().

Signed-off-by: Leon Huayra <hffilwlqm@gmail.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20211229144422.70339-1-hffilwlqm@gmail.com
kernel/bpf/lpm_trie.c

index 423549d..5763cc7 100644 (file)
@@ -412,7 +412,7 @@ static int trie_update_elem(struct bpf_map *map,
                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);
 
 out: