• Andrei Vagin's avatar
    soccr: c/r ipv6 sockets which handles ipv4 connections · 6e770e50
    Andrei Vagin authored
    IPv6 listening sockets can accept both ipv4 and ipv6 connections,
    in both cases a family of an accepted socket will be AF_INET6.
    
    But we have to send tcp packets accoding with a connection type.
    
    ------------------------ grep Error ------------------------
    (00.002320)     53: Debug: 		Will set rcv_wscale to 7
    (00.002325)     53: Debug: 		Will turn timestamps on
    (00.002331)     53: Debug: Will set mss clamp to 65495
    (00.002338)     53: Debug: 	Restoring TCP 1 queue data 2 bytes
    (00.002403)     53: Error (soccr/soccr.c:673): Unable to send a fin packet: libnet_write_raw_ipv6(): -1 bytes written (Network is unreachable)
    
    (00.002434)     53: Error (criu/files.c:1191): Unable to open fd=3 id=0x6
    (00.002506) Error (criu/cr-restore.c:2171): Restoring FAILED.
    ------------------------ ERROR OVER ------------------------
    Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
    Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
    6e770e50
Name
Last commit
Last update
Documentation Loading commit data...
compel Loading commit data...
contrib Loading commit data...
coredump Loading commit data...
crit Loading commit data...
criu Loading commit data...
images Loading commit data...
include/common Loading commit data...
lib Loading commit data...
scripts Loading commit data...
soccr Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
INSTALL.md Loading commit data...
Makefile Loading commit data...
Makefile.compel Loading commit data...
Makefile.config Loading commit data...
Makefile.install Loading commit data...
Makefile.versions Loading commit data...
README.md Loading commit data...