[Bug 247617] Error when deleting ::1 from lo0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jun 28 14:36:46 UTC 2020


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

            Bug ID: 247617
           Summary: Error when deleting ::1 from lo0
           Product: Base System
           Version: 12.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: ms-freebsd-bugzilla at stoffnet.at

The following error message is logged when deleting ::1/128 from lo0 without
explicitly adding it to the interface:

  in6_purgeaddr: err=65, destination address delete failed

This message seems to be issued at /usr/src/sys/netinet6/in6.c, line 1311
(12.1-RELEASE).

It only happens with the implicitly generated ::1/128 address on the loopback
interface. If ::1/128 has been assigned explicitly (see examples below), no
message is logged. The issue applies to the host system (running the
12.1-RELEASE generic kernel) as well as vnet jails. Here is how to reproduce
the issue:

On the host system:

  ifconfig lo0 inet6 ::1/128 delete   # after boot, error logged
  ifconfig lo0 inet6 ::1/128
  ifconfig lo0 inet6 ::1/128 delete   # no error logged

In a jail:

  # Reproducing the error
  jail -c -n failjail vnet persist
  jexec failjail ifconfig lo0 up
  jexec failjail ifconfig lo0 inet6 ::1/128 delete   # error logged
  jail -r failjail

  # Avoiding the error
  jail -c -n okjail vnet persist
  jexec okjail ifconfig lo0 inet6 ::1/128            # don't use 'up'
  jexec okjail ifconfig lo0 inet6 ::1/128 delete     # no error logged
  jail -r okjail

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


More information about the freebsd-bugs mailing list