[Bug 294114] ipfw: nptv6 (with ext_if) fails to react on address removal

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 29 Mar 2026 09:26:32 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294114

            Bug ID: 294114
           Summary: ipfw: nptv6 (with ext_if) fails to react on address
                    removal
           Product: Base System
           Version: 14.4-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: pmc@citylink.dinoex.sub.org

To reproduce:
1. sentinel-interface has the current address/prefix, and nptv6 is correctly
translating.
2. now the prefix gets changed, and we configure the interface in two steps:

   # ifconfig vtnet0 inet6 <new-address>
   # ifconfig vtnet0 inet6 <old-address> -alias

Result: nptv6 does still translate to the old address, and dtrace did not show
an invocation of nptv6_find_prefix().

Analysis/Fix: a comparison in ifaddr_cb() is strictly wrong.

Reference:
https://forums.freebsd.org/threads/my-site-went-offline-what-is-the-result-of-1-1.102168/

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