* Free mbufs held by a socket, and reserved mbuf space. */
| 722 | * Free mbufs held by a socket, and reserved mbuf space. |
| 723 | */ |
| 724 | void |
| 725 | sbrelease_internal(struct sockbuf *sb, struct socket *so) |
| 726 | { |
| 727 | |
| 728 | sbflush_internal(sb); |
| 729 | (void)chgsbsize(so->so_cred->cr_uidinfo, &sb->sb_hiwat, 0, |
| 730 | RLIM_INFINITY); |
| 731 | sb->sb_mbmax = 0; |
| 732 | } |
| 733 | |
| 734 | void |
| 735 | sbrelease_locked(struct sockbuf *sb, struct socket *so) |
no test coverage detected