summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
00217cb)
lgt->key is already a pointer to the key, hash the pointed data instead
of the pointer value.
Type: fix
Change-Id: I4d29d8c6519afc3843cb2e5ef88795d60f715e23
Signed-off-by: Benoît Ganne <bganne@cisco.com>
FIB_SOURCE_RR,
FIB_ENTRY_FLAG_NONE);
FIB_SOURCE_RR,
FIB_ENTRY_FLAG_NONE);
- hash_set_mem (lisp_gpe_tunnel_db, &lgt->key,
+ hash_set_mem (lisp_gpe_tunnel_db, lgt->key,
(lgt - lisp_gpe_tunnel_pool));
}
(lgt - lisp_gpe_tunnel_pool));
}
- hash_unset_mem (lisp_gpe_tunnel_db, &lgt->key);
+ hash_unset_mem (lisp_gpe_tunnel_db, lgt->key);
clib_mem_free (lgt->key);
pool_put (lisp_gpe_tunnel_pool, lgt);
}
clib_mem_free (lgt->key);
pool_put (lisp_gpe_tunnel_pool, lgt);
}