Skip to content

Commit 9e6b19a

Browse files
AsphalttAlexei Starovoitov
authored andcommitted
bpf: Fix typo in a comment in bpf lpm_trie.
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
1 parent 63d000c commit 9e6b19a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/bpf/lpm_trie.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ static int trie_update_elem(struct bpf_map *map,
412412
rcu_assign_pointer(im_node->child[1], node);
413413
}
414414

415-
/* Finally, assign the intermediate node to the determined spot */
415+
/* Finally, assign the intermediate node to the determined slot */
416416
rcu_assign_pointer(*slot, im_node);
417417

418418
out:

0 commit comments

Comments
 (0)