| 750 | } |
| 751 | |
| 752 | void |
| 753 | sbdestroy(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. |
no test coverage detected