[Bug 219250] [Panic] panic: in6_ifattach_linklocal: ia == NULL (assigning ipv6 addresses)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Nov 7 19:10:52 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219250
Eric van Gyzen <vangyzen at 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 |== NULL (assigning ipv6
|in vnet jail) |addresses)
Hardware|amd64 |Any
--- Comment #2 from Eric van Gyzen <vangyzen at 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.
This function (or its caller) really needs some kind of synchronization.
Write-locking the if_addr_lock, which protects the interface's list of
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.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-net
mailing list