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

Function in6_gre_uninit

freebsd/netinet6/ip6_gre.c:579–594  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

577}
578
579void
580in6_gre_uninit(void)
581{
582
583 if (IS_DEFAULT_VNET(curvnet)) {
584 ip6_encap_detach(ecookie);
585 ip6_encap_unregister_srcaddr(ipv6_srcaddrtab);
586 }
587 if (V_ipv6_hashtbl != NULL) {
588 gre_hashdestroy(V_ipv6_hashtbl);
589 V_ipv6_hashtbl = NULL;
590 GRE_WAIT();
591 gre_hashdestroy(V_ipv6_srchashtbl);
592 gre_hashdestroy((struct gre_list *)V_ipv6_sockets);
593 }
594}

Callers 1

vnet_gre_uninitFunction · 0.85

Calls 3

ip6_encap_detachFunction · 0.85
gre_hashdestroyFunction · 0.85

Tested by

no test coverage detected