Re: [PATCH net-next] tcp: allow to enable the repair mode for non-listening sockets

From: David Miller
Date: Tue Nov 15 2016 - 22:29:40 EST


From: Andrei Vagin <avagin@xxxxxxxxxx>
Date: Mon, 14 Nov 2016 18:15:14 -0800

> The repair mode is used to get and restore sequence numbers and
> data from queues. It used to checkpoint/restore connections.
>
> Currently the repair mode can be enabled for sockets in the established
> and closed states, but for other states we have to dump the same socket
> properties, so lets allow to enable repair mode for these sockets.
>
> The repair mode reveals nothing more for sockets in other states.
>
> Signed-off-by: Andrei Vagin <avagin@xxxxxxxxxx>

Applied.