Skip to content

Commit 5259bcd

Browse files
AsphalttNobody
authored and
Nobody
committed
fix a comment typo of bpf lpm_trie
fix a comment typo of trie_update_elem() in kernel/bpf/lpm_trie.c Signed-off-by: Leon Huayra <[email protected]>
1 parent 91d7b9a commit 5259bcd

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)