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

Function def_policy_uninit

freebsd/netipsec/ipsec.c:1517–1525  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1515}
1516
1517static void
1518def_policy_uninit(const void *unused __unused)
1519{
1520
1521 if (V_def_policy != NULL) {
1522 key_freesp(&V_def_policy);
1523 key_bumpspgen();
1524 }
1525}
1526
1527VNET_SYSINIT(def_policy_init, SI_SUB_PROTO_DOMAIN, SI_ORDER_FIRST,
1528 def_policy_init, NULL);

Callers

nothing calls this directly

Calls 2

key_freespFunction · 0.85
key_bumpspgenFunction · 0.85

Tested by

no test coverage detected