Unify and cleanup usage of hash_set/unset_mem by various tunnels 53/9953/3
authorJohn Lo <loj@cisco.com>
Thu, 4 Jan 2018 21:39:42 +0000 (16:39 -0500)
committerDave Barach <openvpp@barachs.net>
Fri, 5 Jan 2018 16:50:02 +0000 (16:50 +0000)
Move the functions hash_set_key_copy() and hash_unset_key_free()
which are dupilicated in various tunnel support code modules to
hash.h as hash_set_mem_alloc() and hash_unset_mem_free() to be
used by all.

Change-Id: I40723cabe29072ab7feb1804c221f28606d8e4fe
Signed-off-by: John Lo <loj@cisco.com>

No differences found