[CRIU] Re: [PATCH 1/4] sockets, unix: Use general machnism for checkpoint/restore v2

Pavel Emelyanov xemul at parallels.com
Wed May 30 04:59:18 EDT 2012


On 05/25/2012 01:09 PM, Cyrill Gorcunov wrote:
> 
> Use fdtype_ops facility to c/r unix sockets.
> 
> v2
>  - BUG_ON added in dump_one_unix_fd if socket
>    is already dumped since we never should dump
>    same socket several times
>  - The order of restore remains as it was before,
>    the lookup is done via socket inode numbers
> 
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> ---
>  include/image.h   |    1 +
>  include/sockets.h |    3 +-
>  sk-unix.c         |  103 +++++++++++++++++++++++++++++------------------------
>  sockets.c         |    2 +-
>  4 files changed, 59 insertions(+), 50 deletions(-)
> 

Applied


More information about the CRIU mailing list