vppinfra: add clib_mem_free_s 50/23050/2
authorBenoît Ganne <bganne@cisco.com>
Mon, 29 Apr 2019 15:27:24 +0000 (17:27 +0200)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Thu, 31 Oct 2019 12:15:33 +0000 (12:15 +0000)
commit952d4e7fb9fce28c36f8ff05a0a20ce528aa45f7
treec76ec8df2b84be3fae505baa8b840cb8aa6b35a6
parent54ff70cb3c27733a9c09ab7c2ea0a6fd69e7ea02
vppinfra: add clib_mem_free_s

IPsec zero-es all allocated key memory including memory sur-allocated by
the allocator.
Move it to its own function in clib mem infra to make it easier to
instrument.

Type: refactor

Change-Id: Icd1c44d18b741e723864abce75ac93e2eff74b61
Signed-off-by: Benoît Ganne <bganne@cisco.com>
(cherry picked from commit 78af0a8c5ff1a33ff8dccb1b2ea6ffadb8ef7b62)
src/plugins/crypto_ia32/main.c
src/plugins/crypto_ipsecmb/ipsecmb.c
src/vppinfra/mem.h