Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935754AbaDJU1c (ORCPT ); Thu, 10 Apr 2014 16:27:32 -0400 Received: from mailhub.sw.ru ([195.214.232.25]:13662 "EHLO relay.sw.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935410AbaDJU1a (ORCPT ); Thu, 10 Apr 2014 16:27:30 -0400 From: Andrey Vagin To: linux-kernel@vger.kernel.org Cc: criu@openvz.org, netdev@vger.kernel.org, Andrey Vagin , "David S. Miller" , Alexey Kuznetsov , James Morris , Hideaki YOSHIFUJI , Patrick McHardy , Eric Dumazet , Pavel Emelyanov , Cyrill Gorcunov Subject: [PATCH RFC 0/2] tcp: allow to repair a tcp connections in closing states Date: Fri, 11 Apr 2014 00:25:37 +0400 Message-Id: <1397161539-27804-1-git-send-email-avagin@openvz.org> X-Mailer: git-send-email 1.9.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Currently connections only in the TCP_ESTABLISHED state can be dumped and restored. This series allows to restore connections in the FIN_WAIT_1, FIN_WAIT_2, LAST_ACK, CLOSE_WAIT, CLOSING or TIME_WAIT states. v2: We decide to not use control message for repairing fin packets in queues. Because it looks quite tricky. Alexey suggested to restore each state separately and in this case setsockopt looks more logical. Andrey Vagin (2): tcp: allow to enable repair mode for sockets in closing states tcp: add ability to restore closing states (v2) include/uapi/linux/tcp.h | 1 + net/ipv4/tcp.c | 75 ++++++++++++++++++++++++++++++++++++++++++++---- 2 files changed, 71 insertions(+), 5 deletions(-) Cc: "David S. Miller" Cc: Alexey Kuznetsov Cc: James Morris Cc: Hideaki YOSHIFUJI Cc: Patrick McHardy Cc: Eric Dumazet Cc: Pavel Emelyanov Cc: Cyrill Gorcunov Signed-off-by: Andrey Vagin -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/