[Bug 15742] New: ip flush fails on bridge with multiple addresses

bugzilla at busybox.net bugzilla at busybox.net
Fri Aug 25 21:49:40 UTC 2023


https://bugs.busybox.net/show_bug.cgi?id=15742

            Bug ID: 15742
           Summary: ip flush fails on bridge with multiple addresses
           Product: Busybox
           Version: unspecified
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Networking
          Assignee: unassigned at busybox.net
          Reporter: rakslice at gmail.com
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

On a system with a bridge with multiple addresses:
# busybox ip a s
... snip ...
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0
state UP qlen 1000
    link/ether 08:00:27:fe:f5:38 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::a00:27ff:fefe:f538/64 scope link
       valid_lft forever preferred_lft forever
43: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen
1000
    link/ether 08:00:27:fe:f5:38 brd ff:ff:ff:ff:ff:ff
    inet 10.0.2.15/24 scope global br0
       valid_lft forever preferred_lft forever
    inet 10.0.2.16/24 scope global secondary br0
       valid_lft forever preferred_lft forever
    inet 10.0.2.17/24 scope global secondary br0
       valid_lft forever preferred_lft forever
    inet6 fe80::a00:27ff:fefe:f538/64 scope link
       valid_lft forever preferred_lft forever


Flushing the addresses exits with an error:
# busybox ip addr flush br0
ip: can't send flush request: Address not available


By contrast iproute2 would just ignore EADDRNOTAVAIL and succeed.

System info:
Alpine 3.18 x86_64
BusyBox v1.36.1 (2023-07-27 17:12:24 UTC) multi-call binary.
config is the one at
https://gitlab.alpinelinux.org/alpine/aports/-/blob/6f6dd7120ded4f70ab3cc41384c170ca5cb6a3d0/main/busybox/busyboxconfig

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list