diff options
author | Leon Huayra <hffilwlqm@gmail.com> | 2021-12-29 22:44:22 +0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2021-12-30 18:42:34 -0800 |
commit | 9e6b19a66d9b6b94395478fe79c5a3ccba181ad3 (patch) | |
tree | 0115660f24d86441d1c7730c593ccb7ba9387bc4 /kernel/bpf | |
parent | 63d000c3dc0a8ddd2f3778982ce6d19593656eda (diff) | |
download | linux-9e6b19a66d9b6b94395478fe79c5a3ccba181ad3.tar.bz2 |
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
Diffstat (limited to 'kernel/bpf')
-rw-r--r-- | kernel/bpf/lpm_trie.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/bpf/lpm_trie.c b/kernel/bpf/lpm_trie.c index 423549d2c52e..5763cc7ac4f1 100644 --- a/kernel/bpf/lpm_trie.c +++ b/kernel/bpf/lpm_trie.c @@ -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: |