|
@@ -500,9 +500,15 @@ unlock:
|
|
raw_spin_unlock(&trie->lock);
|
|
raw_spin_unlock(&trie->lock);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+static int trie_get_next_key(struct bpf_map *map, void *key, void *next_key)
|
|
|
|
+{
|
|
|
|
+ return -ENOTSUPP;
|
|
|
|
+}
|
|
|
|
+
|
|
static const struct bpf_map_ops trie_ops = {
|
|
static const struct bpf_map_ops trie_ops = {
|
|
.map_alloc = trie_alloc,
|
|
.map_alloc = trie_alloc,
|
|
.map_free = trie_free,
|
|
.map_free = trie_free,
|
|
|
|
+ .map_get_next_key = trie_get_next_key,
|
|
.map_lookup_elem = trie_lookup_elem,
|
|
.map_lookup_elem = trie_lookup_elem,
|
|
.map_update_elem = trie_update_elem,
|
|
.map_update_elem = trie_update_elem,
|
|
.map_delete_elem = trie_delete_elem,
|
|
.map_delete_elem = trie_delete_elem,
|