Summary: | Networking device detach leaks memory after base r334118 | ||||||
---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | ghuckriede | ||||
Component: | kern | Assignee: | Mark Johnston <markj> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Many People | CC: | afedorov, bz, emaste, hselasky, markj, mmacy, net | ||||
Priority: | --- | Keywords: | regression | ||||
Version: | CURRENT | Flags: | koobs:
mfc-stable12+
koobs: mfc-stable11- |
||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
ghuckriede
2019-12-18 18:50:16 UTC
Nice find, thank you. This code is largely duplicated between if_delgroup() and if_delgroups() and should be merged. A commit references this bug: Author: markj Date: Fri Dec 20 17:21:58 UTC 2019 New revision: 355938 URL: https://svnweb.freebsd.org/changeset/base/355938 Log: Fix a memory leak in if_delgroups() introduced in r334118. PR: 242712 Submitted by: ghuckriede@blackberry.com MFC after: 3 days Changes: head/sys/net/if.c I posted a larger cleanup here if anyone on the CC wants to take a look: https://reviews.freebsd.org/D22892 A commit references this bug: Author: markj Date: Mon Dec 23 16:34:40 UTC 2019 New revision: 356037 URL: https://svnweb.freebsd.org/changeset/base/356037 Log: MFC r355938: Fix a memory leak in if_delgroups() introduced in r334118. PR: 242712 Changes: _U stable/12/ stable/12/sys/net/if.c |