[Bug 138678] [lo] FreeBSD does not assign linklocal address to loopbacks >0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jan 29 10:34:08 UTC 2018


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

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

Author: ae
Date: Mon Jan 29 10:33:56 UTC 2018
New revision: 328540
URL: https://svnweb.freebsd.org/changeset/base/328540

Log:
  Assign IPv6 link-local address to loopback interfaces whith unit > 0.

  When an interface has IFF_LOOPBACK flag in6_ifattach() tries to assing
  IPv6 loopback address to this interface. It uses in6ifa_ifpwithaddr()
  to check, that interface doesn't already have given address and then
  uses in6_ifattach_loopback(). If in6_ifattach_loopback() fails, it just
  exits and thus skips assignment of IPv6 LLA.
  Fix this using in6ifa_ifwithaddr() function. If IPv6 loopback address is
  already assigned in the system, do not call in6_ifattach_loopback().

  PR:           138678
  MFC after:    3 weeks

Changes:
  head/sys/netinet6/in6_ifattach.c

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-net mailing list