[Bug 257218] pfi_ifnet leak on interface removal
Date: Fri, 16 Jul 2021 15:35:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257218 Bug ID: 257218 Summary: pfi_ifnet leak on interface removal Product: Base System Version: 13.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: nreilly@blackberry.com Created attachment 226498 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=226498&action=edit Suggested diff The detach of the interface and group were leaving pfi_ifnet memory behind. Doing an unref on the kif frees it up if this is the last reference. On interface detach, the group deletion was notified first and then a change notification was sent. This would recreate the group in the kif layer. Reorder the change to before the delete. -- You are receiving this mail because: You are the assignee for the bug.