MCPcopy Create free account
hub / github.com/F-Stack/f-stack / spdcache_entry_free

Function spdcache_entry_free

freebsd/netipsec/key.c:8219–8226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8217}
8218
8219void
8220spdcache_entry_free(struct spdcache_entry *entry)
8221{
8222
8223 if (entry->sp != NULL)
8224 key_freesp(&entry->sp);
8225 free(entry, M_IPSEC_SPDCACHE);
8226}
8227
8228void
8229spdcache_clear(void)

Callers 2

key_allocspFunction · 0.85
spdcache_clearFunction · 0.85

Calls 2

key_freespFunction · 0.85
freeFunction · 0.50

Tested by

no test coverage detected