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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Feb 19 10:31:11 UTC 2018


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

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

Author: ae
Date: Mon Feb 19 10:30:34 UTC 2018
New revision: 329558
URL: https://svnweb.freebsd.org/changeset/base/329558

Log:
  MFC r328540:
    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

Changes:
_U  stable/11/
  stable/11/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