[Lucid][PATCH 0/1] ipv6: Allow inet6_dump_addr() to handle more than 64 addresses

Brad Figg brad.figg at canonical.com
Fri Dec 16 21:37:03 UTC 2011


BugLink: http://bugs.launchpad.net/bugs/863394

SRU Justification

Impact:

2.6.32 has a problem with allocating IPv6 addresses that shows up using later versions of libvirt, or if you create lots of IPv6 addresses manually.

What happens is that 'ip addr show dev' for a particular device fails to show the ipv6 addresses on them, yet they are there in the 'ifconfig' listing for that device.

Fix:

Cherry pick commit bcd323262a94b14b84341982b90443a76a477861

Testcase:

See comment #7


Apparently, inet6_dump_addr() is not able to handle more than
64 ipv6 addresses per device. We must break from inner loops
in case skb is full, or else cursor is put at the end of list.

Eric Dumazet (1):
  ipv6: Allow inet6_dump_addr() to handle more than 64 addresses

 net/ipv6/addrconf.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

-- 
1.7.5.4





More information about the kernel-team mailing list