Skip to content

Commit

Permalink
bpf: Fix typo in a comment in bpf lpm_trie.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Asphaltt authored and Alexei Starovoitov committed Dec 31, 2021
1 parent 63d000c commit 9e6b19a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/bpf/lpm_trie.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9e6b19a

Please sign in to comment.