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

Function sbdestroy

freebsd/kern/uipc_sockbuf.c:752–762  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

750}
751
752void
753sbdestroy(struct sockbuf *sb, struct socket *so)
754{
755
756 sbrelease_internal(sb, so);
757#ifdef KERN_TLS
758 if (sb->sb_tls_info != NULL)
759 ktls_free(sb->sb_tls_info);
760 sb->sb_tls_info = NULL;
761#endif
762}
763
764/*
765 * Routines to add and remove data from an mbuf queue.

Callers 2

solisten_protoFunction · 0.85
sofreeFunction · 0.85

Calls 2

sbrelease_internalFunction · 0.85
ktls_freeFunction · 0.85

Tested by

no test coverage detected