Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Nov 2018 19:40:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 219250] panic: in6_ifattach_linklocal: ia == NULL (assigning ipv6 addresses)
Message-ID:  <bug-219250-7501-DUk2bUF16i@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

--- Comment #5 from commit-hook@freebsd.org ---
A commit references this bug:

Author: vangyzen
Date: Tue Nov 27 19:40:07 UTC 2018
New revision: 341086
URL: https://svnweb.freebsd.org/changeset/base/341086

Log:
  MFC r340257

  in6_ifattach_linklocal: handle immediate removal of the new LLA

  If another thread immediately removes the link-local address
  added by in6_update_ifa(), in6ifa_ifpforlinklocal() can return NULL,
  so the following assertion (or dereference) is wrong.
  Remove the assertion, and handle NULL somewhat better than panicking.
  This matches all of the other callers of in6_update_ifa().

  PR:           219250
  Reviewed by:  bz, dab (both an earlier version)
  Sponsored by: Dell EMC Isilon
  Differential Revision:        https://reviews.freebsd.org/D17898

Changes:
_U  stable/12/
  stable/12/sys/netinet6/in6_ifattach.c

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219250-7501-DUk2bUF16i>