Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jul 2021 15:35:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 257218] pfi_ifnet leak on interface removal
Message-ID:  <bug-257218-227@https.bugs.freebsd.org/bugzilla/>

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

            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=3D226498&action=
=3Dedit
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. Reor=
der
the change to before the delete.

--=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-257218-227>