Skip to contentSkip to conversation

fix a comment typo of bpf lpm_trie

PATCH New Leon Huayra 1 participant 1 message Dec 29, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix a comment typo of bpf lpm_trie

fix a comment typo of trie_update_elem() in kernel/bpf/lpm_trie.c

---
 kernel/bpf/lpm_trie.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/bpf/lpm_trie.c +1 -1
index 423549d2c..5763cc7ac 100644
@@ -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:
Signature · 1 line
2.34.1