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

Function mac_inpcb_destroy

freebsd/security/mac/mac_inet.c:154–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154void
155mac_inpcb_destroy(struct inpcb *inp)
156{
157
158 if (inp->inp_label != NULL) {
159 mac_inpcb_label_free(inp->inp_label);
160 inp->inp_label = NULL;
161 }
162}
163
164static void
165mac_ipq_label_free(struct label *label)

Callers 2

in_pcballocFunction · 0.85
in_pcbfree_deferredFunction · 0.85

Calls 1

mac_inpcb_label_freeFunction · 0.85

Tested by

no test coverage detected