[CRIU] [PATCH 3/3] inet: Restore SO_REUSEADDR in case of rollback

Cyrill Gorcunov gorcunov at openvz.org
Mon Jul 15 09:21:22 EDT 2013


tcp_repair_off implicitly modifies SO_REUSEADDR option
inside the kernel (thanks avagin@ for pointing this
feature out) thus if we are to rollback and restore
the former settings of socket -- don't forget to
repair this particular one.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
CC: Andrey Vagin <avagin at openvz.org>
---
 include/sk-inet.h | 1 +
 sk-inet.c         | 1 +
 sk-tcp.c          | 7 +++++++
 3 files changed, 9 insertions(+)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-inet-Restore-SO_REUSEADDR-in-case-of-rollback.patch
Type: text/x-patch
Size: 1081 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20130715/a5512dbc/attachment.bin>


More information about the CRIU mailing list