[Bug 278100] ena (Elastic Network Adapter) driver memory leak on detach
Date: Mon, 01 Apr 2024 14:44:43 UTC
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: bugs@FreeBSD.org Reporter: mibelanger@qnx.com 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.