Skip to content
Commit f9a8673d authored by Pavel Emelyanov's avatar Pavel Emelyanov
Browse files

tcp: Dump and restore support



What it does is uses the tcp repair engine from the kernel.

On dump the connection is locked with netfilter, socket is put
in the repair state and then its internals are dumped.

On restore we create a socket, put it into repair, dress it up
and then unlock all the connections at the very end.

Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent 675b4698
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment