* Drop data from (the front of) a sockbuf. */
| 1579 | * Drop data from (the front of) a sockbuf. |
| 1580 | */ |
| 1581 | void |
| 1582 | sbdrop_locked(struct sockbuf *sb, int len) |
| 1583 | { |
| 1584 | |
| 1585 | SOCKBUF_LOCK_ASSERT(sb); |
| 1586 | m_freem(sbcut_internal(sb, len)); |
| 1587 | } |
| 1588 | |
| 1589 | /* |
| 1590 | * Drop data from (the front of) a sockbuf, |
no test coverage detected