When we release a multicast address (e.g. on interface shutdown) we may
still have packets queued in inm_scq. We have to free those, or we'll
leak memory.
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential D43033
mcast: fix leaked igmp packets on multicast cleanup kp on Dec 13 2023, 1:01 PM. Authored by Tags None Referenced Files
Details When we release a multicast address (e.g. on interface shutdown) we may Sponsored by: Rubicon Communications, LLC ("Netgate")
Diff Detail
Event TimelineComment Actions So that's an interesting point. It turns out that it's not, because in in6m_purge() we do call mbufq_drain(&inm->in6m_scq);. |