[CRIU] [PATCH 3/4] sockets: Restore unbound inet sockets v2

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


v2:
 - Use do_dump_opt in dump_socket to not call
   lookup_socket redundantly

p.s. probably the sockets params could be filled up
in fd_parms, thus we can drop tests for socket family
in gen_uncon_sk (could be cleaned up later)

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 include/sockets.h |    2 +
 sk-inet.c         |  110 ++++++++++++++++++++++++++++++++++++++++++++++++----
 sockets.c         |   11 ++---
 3 files changed, 107 insertions(+), 16 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-sockets-Restore-unbound-inet-sockets-v2.patch
Type: text/x-patch
Size: 5004 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120525/be80afc6/0003-sockets-Restore-unbound-inet-sockets-v2.bin


More information about the CRIU mailing list