[CRIU] [PATCH cr] restore: disable repair mode in post_open()

Andrey Vagin avagin at openvz.org
Mon Aug 27 08:55:02 EDT 2012


A disabling repair mode drops SO_REUSEADDR.

We can set SO_REUSEADDR after disabling repair mode, but
a small race window exists in this case.

Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 include/sk-inet.h |    1 +
 sk-inet.c         |   19 +++++++++++++------
 sk-tcp.c          |    3 +--
 3 files changed, 15 insertions(+), 8 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-restore-disable-repair-mode-in-post_open.patch
Type: text/x-patch
Size: 1700 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120827/5f930281/0001-restore-disable-repair-mode-in-post_open.bin


More information about the CRIU mailing list