https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278100
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: [email protected]
Reporter: [email protected]
Missing call to
ifmedia_removeall(&adapter->media);
in ena_detach.
ifmedia_add allocates memory.
entry = malloc(sizeof(*entry), M_IFADDR, M_NOWAIT);
ifmedia_removeall will free the entries.
--
You are receiving this mail because:
You are the assignee for the bug.