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

Function sbdrop

freebsd/kern/uipc_sockbuf.c:1601–1611  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1599}
1600
1601void
1602sbdrop(struct sockbuf *sb, int len)
1603{
1604 struct mbuf *mfree;
1605
1606 SOCKBUF_LOCK(sb);
1607 mfree = sbcut_internal(sb, len);
1608 SOCKBUF_UNLOCK(sb);
1609
1610 m_freem(mfree);
1611}
1612
1613struct mbuf *
1614sbsndptr_noadv(struct sockbuf *sb, uint32_t off, uint32_t *moff)

Callers 4

tcp_do_segmentFunction · 0.85
rack_fastackFunction · 0.85
bbr_fastackFunction · 0.85

Calls 2

sbcut_internalFunction · 0.85
m_freemFunction · 0.70

Tested by

no test coverage detected