Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Apr 2024 14:44:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 278100] ena (Elastic Network Adapter) driver memory leak on detach
Message-ID:  <bug-278100-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278100

            Bug ID: 278100
           Summary: ena (Elastic Network Adapter) driver memory leak on
                    detach
           Product: Base System
           Version: 14.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: mibelanger@qnx.com

Missing call to=20
ifmedia_removeall(&adapter->media);
in ena_detach.

ifmedia_add allocates memory.
entry =3D malloc(sizeof(*entry), M_IFADDR, M_NOWAIT);
ifmedia_removeall will free the entries.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-278100-227>