Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jun 2020 14:36:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 247617] Error when deleting ::1 from lo0
Message-ID:  <bug-247617-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247617

            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@FreeBSD.org
          Reporter: ms-freebsd-bugzilla@stoffnet.at

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

  in6_purgeaddr: err=3D65, 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 loopba=
ck
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

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



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