[Bug 256714] Memory leaks when detaching a device

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 12 Aug 2021 18:44:01 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256714

jcaplan_at_blackberry.com changed:

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

--- Comment #3 from jcaplan_at_blackberry.com ---
Created attachment 227138
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=227138&action=edit
proposed patch

update to nd6 prefix issue

in6_ifattach_linklocal() was only calling nd6_prefix_rele() in the case where
nd6_prefix_lookup() has returned a prefix, which increments the reference
count. The fix is to also call it in the case where nd6_prelist_add() has added
a new prefix as this prefix should really only have one reference to it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Thu Aug 12 2021 - 18:44:01 UTC

Original text of this message