Eric Dumazet 9f0d3c2781 ipv6: addrconf: fix /proc/net/if_inet6
Commit 1d5783030a1 (ipv6/addrconf: speedup /proc/net/if_inet6 filling)
added bugs hiding some devices from if_inet6 and breaking applications.

"ip -6 addr" could still display all IPv6 addresses, while "ifconfig -a"
couldnt.

One way to reproduce the bug is by starting in a shell :

unshare -n /bin/bash
ifconfig lo up

And in original net namespace, lo device disappeared from if_inet6

Reported-by: Jan Hinnerk Stosch <janhinnerk.stosch@gmail.com>
Tested-by: Jan Hinnerk Stosch <janhinnerk.stosch@gmail.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Mihai Maruseac <mihai.maruseac@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-10-16 14:41:47 -04:00
..
2012-05-19 01:08:16 -04:00
2012-05-19 01:08:16 -04:00
2012-08-31 16:27:48 -04:00
2012-06-04 11:45:11 -04:00
2012-07-30 14:53:21 -07:00
2012-10-06 03:04:45 +09:00
2012-08-14 14:28:32 -07:00
2012-08-14 14:28:32 -07:00
2012-09-25 16:04:44 -04:00
2012-08-14 14:45:07 -07:00
2012-09-27 18:12:37 -04:00
2012-10-12 13:52:40 -04:00
2011-11-22 16:43:32 -05:00