[CRIU] [PATCH 1/2] sockets: Restore unbound inet sockets v3
Cyrill Gorcunov
gorcunov at openvz.org
Tue Jun 26 17:52:34 EDT 2012
v2:
- Use do_dump_opt in dump_socket to not call
lookup_socket redundantly
v3:
- use getsockopt to check that unconnected
socket has no peername and it's not listening
- do test only socket protocol since family and
type will be called in dump_one_inet_fd.
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
include/sockets.h | 2 +
sk-inet.c | 113 ++++++++++++++++++++++++++++++++++++++++++++++++----
sockets.c | 2 +-
3 files changed, 107 insertions(+), 10 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-sockets-Restore-unbound-inet-sockets-v3.patch
Type: text/x-patch
Size: 4802 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120627/adb85908/0001-sockets-Restore-unbound-inet-sockets-v3.bin
More information about the CRIU
mailing list