HomeFreeBSD

mcast: fix leaked igmp packets on multicast cleanup

Description

mcast: fix leaked igmp packets on multicast cleanup

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.

Reviewed by: glebius
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D43033

Details

Provenance
kpAuthored on Dec 13 2023, 12:32 PM
Reviewer
glebius
Differential Revision
D43033: mcast: fix leaked igmp packets on multicast cleanup
Parents
rGc196e43243b8: Revert "mcast: fix memory leak in imf_purge()"
Branches
Unknown
Tags
Unknown