On Mon, Sep 28, 2015 at 2:46 AM, Andrew Vagin <ava...@odin.com> wrote:
> Hi,
>
> With this patch, I can't connect two local tcp ipv6 sockets.
>
> [root@fc22-vm criu]# strace -e network python ipv6.py
> socket(PF_INET6, SOCK_STREAM, IPPROTO_IP) = 3
> bind(3, {sa_family=AF_INET6, sin6_port=htons(8976), inet_pton(AF_INET6, "::", 
> &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0
> listen(3, 1)                            = 0
> socket(PF_INET6, SOCK_STREAM, IPPROTO_IP) = 4
> connect(4, {sa_family=AF_INET6, sin6_port=htons(8976), inet_pton(AF_INET6, 
> "::1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = -1 ETIMEDOUT 
> (Connection timed out)
>
> [root@fc22-vm criu]# cat ipv6.py
> import socket
>
> srv = socket.socket(socket.AF_INET6, socket.SOCK_STREAM)
> srv.bind(("::0", 8976))
> srv.listen(1)
> c = socket.socket(socket.AF_INET6, socket.SOCK_STREAM)
> c.connect(("::1", 8976))
>

Thanks for the bug report. I am working on fix. I will send it out soon.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to