diff options
| author | Kristof Provost <kp@FreeBSD.org> | 2023-08-29 09:33:17 +0000 |
|---|---|---|
| committer | Kristof Provost <kp@FreeBSD.org> | 2023-08-31 10:16:20 +0000 |
| commit | fa03d37432caf17d56a931a9e6f5d9b06f102c5b (patch) | |
| tree | cb9ab065c0649de1cfb74c45a4e67b7bb6ae0f2e /tests | |
| parent | 8d49fd7331bc72671a14f1aac1d9cdea36672d19 (diff) | |
mcast: fix memory leak in imf_purge()
The IGMP code buffers packets in the imf_inm->inm_scq mbufq, but does
not clear this queue when struct in_mfilter is freed by imf_purge().
This can cause memory leaks if IGMPv3 is used.
Purge the mbufq on imf_purge().
MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D41629
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions
