Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Nov 2018 19:10:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 219250] [Panic] panic: in6_ifattach_linklocal: ia == NULL (assigning ipv6 addresses)
Message-ID:  <bug-219250-7501-TicoHTsbHC@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-219250-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-219250-7501@https.bugs.freebsd.org/bugzilla/>

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

Eric van Gyzen <vangyzen@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|Affects Only Me             |Affects Some People
            Summary|[Panic] [VIMAGE] panic:     |[Panic] panic:
                   |in6_ifattach_linklocal      |in6_ifattach_linklocal: ia
                   |(assigning ipv6 addresses   |=3D=3D NULL (assigning ipv6
                   |in vnet jail)               |addresses)
           Hardware|amd64                       |Any

--- Comment #2 from Eric van Gyzen <vangyzen@FreeBSD.org> ---
Something removed an IPv6 link-local interface address immediately after it=
 was
added.  I don't know how this happened.  However, it is clear that there is=
 no
thread synchronization to prevent this scenario and guarantee the assertion=
.=20
This function (or its caller) really needs some kind of synchronization.=20=
=20
Write-locking the if_addr_lock, which protects the interface's list of=20
addresses, seems like a good choice, but I haven't tested that.

I'm removing [VIMAGE] from the title, since this can be triggered without
VIMAGE.

--=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-219250-7501-TicoHTsbHC>