[Bug 219250] panic: in6_ifattach_linklocal: ia == NULL (assigning ipv6 addresses)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Nov 27 19:40:44 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219250

--- Comment #6 from commit-hook at freebsd.org ---
A commit references this bug:

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

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/11/
  stable/11/sys/netinet6/in6_ifattach.c

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


More information about the freebsd-net mailing list