[CRIU] [PATCH 2/4] sockets, inet: Use general machnism for checkpoint/restore v2

Cyrill Gorcunov gorcunov at openvz.org
Fri May 25 05:09:33 EDT 2012


Use fdtype_ops facility to c/r inet sockets.

v2:
 - Use BUG_ON if socket is attempted to be dumped
   several times

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 include/image.h   |    1 +
 include/sockets.h |    3 +--
 sk-inet.c         |   37 +++++++++++++++++++++----------------
 sk-tcp.c          |    2 +-
 sockets.c         |    2 +-
 5 files changed, 25 insertions(+), 20 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-sockets-inet-Use-general-machnism-for-checkpoint-res.patch
Type: text/x-patch
Size: 3856 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120525/c5fc04b7/0002-sockets-inet-Use-general-machnism-for-checkpoint-res.bin


More information about the CRIU mailing list