[CRIU] [PATCH 1/3] tcp: allow to enable repair mode for sockets in any state
Cyrill Gorcunov
gorcunov at gmail.com
Wed Mar 5 01:46:56 PST 2014
On Wed, Mar 05, 2014 at 09:18:10AM +0400, Andrey Vagin wrote:
> The repair mode is used for dumping state of tcp connections
> (sequence numbers, queues, options, etc).
>
> Currently the repair mode can be enalbed only for sockets in the
> TCP_ESTABLISHED state. If a socket in another state, its internal
> state can not be dumped.
Same time there is no guarantee that a connection won't be in other
states when we are dumping it, thus to be able to dump and restore
such states we need to get rid of CLOSE,ESTABLISHED in-kernel limitation.
> I see nothing wrong to allow enabling of the repair mode for any state.
>
> Signed-off-by: Andrey Vagin <avagin at openvz.org>
More information about the CRIU
mailing list