mirror of
https://github.com/torvalds/linux.git
synced 2026-12-04 12:24:18 +00:00
Commit 1d5783030a (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 <[email protected]>
Tested-by: Jan Hinnerk Stosch <[email protected]>
Signed-off-by: Eric Dumazet <[email protected]>
Cc: Mihai Maruseac <[email protected]>
Signed-off-by: David S. Miller <[email protected]>