[Bug 256714] Memory leaks when detaching a device

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 21 Jun 2021 18:04:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256714

jcaplan@blackberry.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #225929|0                           |1
        is obsolete|                            |

--- Comment #2 from jcaplan@blackberry.com ---
Created attachment 225968
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=225968&action=edit
updated in6 patch

I think there are scenarios where in6_purgeifaddr() removes the last reference
so it should check the refcount and remove if it is the last ref e.g. if a new
address is allocated rather than detaching the interface

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