2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-22 01:51:51 +00:00
Andrew Vagin 7d95face06 tcp: dump and restore window parameters
We found that sometimes a restored tcp socket doesn't work.

A reason of this bug is incorrect window parameters and in this case
tcp_acceptable_seq() returns tcp_wnd_end(tp) instead of tp->snd_nxt. The
other side drops packets with this seq, because seq is less than
tp->rcv_nxt ( tcp_sequence() ).

We need to restore window parameters to avoid such side effects.

https://github.com/xemul/criu/issues/168
Signed-off-by: Andrew Vagin <avagin@virtuozzo.com>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
2016-08-08 15:20:47 +03:00
..
2016-07-05 23:06:58 +03:00
2016-07-07 12:38:39 +03:00
2016-07-07 12:38:39 +03:00
2016-07-07 12:38:39 +03:00
2016-07-07 12:38:39 +03:00
2016-07-07 12:38:39 +03:00
2016-07-07 12:38:39 +03:00
2016-07-05 23:06:58 +03:00
2016-07-07 12:38:39 +03:00
2016-07-07 12:38:39 +03:00
2016-07-07 12:38:39 +03:00
2016-07-07 12:38:39 +03:00
2016-07-07 12:38:39 +03:00
2016-07-07 12:38:39 +03:00
2016-07-07 12:38:39 +03:00
2016-07-07 12:38:39 +03:00
2016-07-07 12:38:39 +03:00
2016-07-07 12:38:39 +03:00
2016-07-07 12:38:39 +03:00
2016-07-07 12:38:39 +03:00
2016-07-07 12:38:39 +03:00
2016-07-07 12:38:39 +03:00