[CRIU] [PATCH] tcp: block connections in both directions

Andrew Vagin avagin at parallels.com
Tue Aug 6 06:22:50 EDT 2013


On Tue, Aug 06, 2013 at 02:21:40PM +0400, Pavel Emelyanov wrote:
> On 08/06/2013 01:59 PM, Andrew Vagin wrote:
> > The packet can be retransmited after dumping the tcp connect.  The first
> > one is that the connection is blocked for only one direction. The second
> > one is that TCP timers continue work during dumping and they can send
> > packets. tcp_timestamp is saved for each tcp connections and then it’s
> > restored. So if a packet is sent after dumping, its timestamps is
> > saved by another side and this timestamp is sent back in the next packet
> > as the tsecr parameter. If this packet is received after restoring, it
> > looks like a packets from the future.
> > 
> > https://bugzilla.openvz.org/show_bug.cgi?id=2676
> > Signed-off-by: Andrew Vagin <avagin at openvz.org>
> > ---
> 
> Applied.
> 
> Is it all for the bug above, or will there be more stuff?

I'm going to send a patch for the kernel, which will set timestamp on
restored skb-s.


More information about the CRIU mailing list