Thread (1 message) 1 message, 1 author, 2007-08-10

Re: [Bugme-new] [Bug 8876] New: Not all IPs are shown by "ip addr show"

From: Andrew Morton <akpm@linux-foundation.org>
Date: 2007-08-10 16:44:38

On Fri, 10 Aug 2007 05:58:25 -0700 (PDT) bugme-daemon@bugzilla.kernel.org wrote:
http://bugzilla.kernel.org/show_bug.cgi?id=8876

           Summary: Not all IPs are shown by "ip addr show"
           Product: Networking
           Version: 2.5
     KernelVersion: >=2.6.22 (2.6.23.x too)
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: high
          Priority: P1
         Component: IPV4
        AssignedTo: shemminger@osdl.org
        ReportedBy: gentuu@gmail.com


Most recent kernel where this bug did not occur: 2.6.21.x
a regression.
Distribution: no matter
Hardware Environment: generic i686
Software Environment: GNU
Problem Description:
Not all ips are shown by "ip addr show" command when IPs number assigned to an
interface is more than 60-80 (in fact it depends on broadcast/label etc
presence on each address).

Steps to reproduce:
It's terribly simple to reproduce:

# for i in $(seq 1 100); do ip ad add 10.0.$i.1/24 dev eth10 ; done
# ip addr show

this will _not_ show all IPs.
Looks like the problem is in netlink/ipv4 message processing.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help