Subject: Re: [net] skbuff: Fix skb checksum flag on skb pull

From: Andrew Vagin <[email-masked]>
Date: Mon, 28 Sep 2015 12:46:04 +0300

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))