[Bug 271308] [FIB] File exists while adding IPv4

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 08 May 2023 07:42:15 UTC

            Bug ID: 271308
           Summary: [FIB] File exists while adding IPv4
           Product: Base System
           Version: 13.2-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: konrad.kreciwilk@korbank.pl
                CC: melifaro@FreeBSD.org, net@FreeBSD.org

I have jail with vlans and bird with full feed.
After upgrade from 13.1/Stable to 13.2/Stable I can't add subnet do interface
when it exists in the routing table, e.g.:

route -nv get
RTA_DST: inet; RTA_IFP: link ; RTM_GET: Report Metrics: len 224, pid:
0, seq 1, errno 0, flags:<UP,GATEWAY,HOST,STATIC>
locks:  inits:
sockaddrs: <DST,IFP> link#0
   route to:
    gateway: xx.xx.92.217
        fib: 0
  interface: vlan4007
      flags: <UP,GATEWAY,DONE,PROTO1>
 recvpipe  sendpipe  ssthresh  rtt,msec    mtu        weight    expire
       0         0         0         0      1500         1         0

locks:  inits:
sockaddrs: <DST,GATEWAY,NETMASK,IFP,IFA> xx.xx.92.217 vlan4007: xx.xx.92.218

# birdc show route for
BIRD 2.13 ready.
Table master4:          unicast [CORE_OSPF 09:31:03.342] * E1 (150/31)
        via xx.xx.92.217 on vlan4007

# ifconfig vlan40 alias
ifconfig: ioctl (SIOCAIFADDR): File exists

Problem is with the same size len of prefixes. If I try to add more specific

# ifconfig vlan40 alias

not errors, IPv4 has been added

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