diff mbox series

fix a comment typo of bpf lpm_trie

Message ID 20211229144422.70339-1-hffilwlqm@gmail.com (mailing list archive)
State Accepted
Delegated to: BPF
Headers show
Series fix a comment typo of bpf lpm_trie | expand

Checks

Context Check Description
bpf/vmtest-bpf-next-PR success PR summary
bpf/vmtest-bpf-next success VM_Test
netdev/tree_selection success Guessing tree name failed - patch did not apply

Commit Message

Leon Hwang Dec. 29, 2021, 2:44 p.m. UTC
fix a comment typo of trie_update_elem() in kernel/bpf/lpm_trie.c

Signed-off-by: Leon Huayra <hffilwlqm@gmail.com>
---
 kernel/bpf/lpm_trie.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/kernel/bpf/lpm_trie.c b/kernel/bpf/lpm_trie.c
index 423549d2c..5763cc7ac 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: