mirror of
https://github.com/checkpoint-restore/criu
synced 2025-09-07 09:46:20 +00:00
restore: disable repair mode in post_open()
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@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
c00038042d
commit
458cb41f57
@@ -33,6 +33,7 @@ struct inet_sk_info {
|
||||
int inet_bind(int sk, struct inet_sk_info *);
|
||||
int inet_connect(int sk, struct inet_sk_info *);
|
||||
|
||||
void tcp_repair_off(int sk);
|
||||
void tcp_unlock_all(void);
|
||||
void tcp_locked_conn_add(struct inet_sk_info *);
|
||||
void tcp_unlock_connections(void);
|
||||
|
Reference in New Issue
Block a user