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

Pavel Emelyanov xemul at parallels.com
Tue Aug 14 04:47:44 EDT 2012


On 08/13/2012 06:31 PM, Andrey Vagin wrote:
> 
> 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(-)
> 

Both applied.

I've changed do_restore|save_opt into restore|save_opt which do the sizeof()
assignment themselves. Plz, check.


More information about the CRIU mailing list