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

Function clear_llinfo_pqueue

freebsd/netinet6/nd6.c:2567–2578  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2565}
2566
2567static void
2568clear_llinfo_pqueue(struct llentry *ln)
2569{
2570 struct mbuf *m_hold, *m_hold_next;
2571
2572 for (m_hold = ln->la_hold; m_hold; m_hold = m_hold_next) {
2573 m_hold_next = m_hold->m_nextpkt;
2574 m_freem(m_hold);
2575 }
2576
2577 ln->la_hold = NULL;
2578}
2579
2580static int
2581nd6_sysctl_prlist(SYSCTL_HANDLER_ARGS)

Callers 1

nd6_llinfo_timerFunction · 0.85

Calls 1

m_freemFunction · 0.50

Tested by

no test coverage detected