[CRIU] [PATCH cr 2/2] sk-inet: save the socket option IPV6_V6ONLY (v2)

Andrey Vagin avagin at openvz.org
Mon Aug 13 10:31:37 EDT 2012


Most part of services (ssh, httpd, ...) create two separate sockets
one for ipv4 and one for ipv6. If IPV6_V6ONLY isn't dumped, bind() returns
EADDRINUSE

v2: use do_dump_opt and initialize yes = 1

Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 protobuf/sk-inet.proto |    1 +
 sk-inet.c              |   14 ++++++++++++++
 2 files changed, 15 insertions(+), 0 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-sk-inet-save-the-socket-option-IPV6_V6ONLY-v2.patch
Type: text/x-patch
Size: 1229 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120813/6ac6fb7f/0002-sk-inet-save-the-socket-option-IPV6_V6ONLY-v2.bin


More information about the CRIU mailing list