|
@@ -262,7 +262,7 @@ static int trie_update_elem(struct bpf_map *map,
|
|
void *_key, void *value, u64 flags)
|
|
void *_key, void *value, u64 flags)
|
|
{
|
|
{
|
|
struct lpm_trie *trie = container_of(map, struct lpm_trie, map);
|
|
struct lpm_trie *trie = container_of(map, struct lpm_trie, map);
|
|
- struct lpm_trie_node *node, *im_node, *new_node = NULL;
|
|
|
|
|
|
+ struct lpm_trie_node *node, *im_node = NULL, *new_node = NULL;
|
|
struct lpm_trie_node __rcu **slot;
|
|
struct lpm_trie_node __rcu **slot;
|
|
struct bpf_lpm_trie_key *key = _key;
|
|
struct bpf_lpm_trie_key *key = _key;
|
|
unsigned long irq_flags;
|
|
unsigned long irq_flags;
|