diff --git a/Documentation/criu.txt b/Documentation/criu.txt index ff6886d9d..2ee40ec10 100644 --- a/Documentation/criu.txt +++ b/Documentation/criu.txt @@ -327,6 +327,10 @@ mount -t cgroup -o devices,freezer none devices,freezer *--tcp-established*:: Checkpoint established TCP connections. +*--tcp-close*:: + Don't dump the state of, or block, established tcp connections. + This is useful when tcp connections are not going to be restored. + *--skip-in-flight*:: This option skips in-flight TCP connections. If any TCP connections that are not yet completely established are found, *criu* ignores diff --git a/criu/crtools.c b/criu/crtools.c index 7a32d9443..d4291f2c6 100644 --- a/criu/crtools.c +++ b/criu/crtools.c @@ -377,7 +377,9 @@ usage: "* Special resources support:\n" " --" SK_EST_PARAM " checkpoint/restore established TCP connections\n" " --" SK_INFLIGHT_PARAM " skip (ignore) in-flight TCP connections\n" -" --" SK_CLOSE_PARAM " restore connected TCP sockets in closed state\n" +" --" SK_CLOSE_PARAM "\n" +" Don't dump the state of, or block, established tcp connections,\n" +" and restore them in closed state.\n" " -r|--root PATH change the root filesystem (when run in mount namespace)\n" " --evasive-devices use any path to a device file if the original one\n" " is inaccessible\n" @@ -438,8 +440,8 @@ usage: " OPTIONS can be used to specify parameters for userns:\n" " user:PID,UID,GID\n" " --file-validation METHOD\n" - "pass the validation method to be used; argument\n" - "can be 'filesize' or 'buildid' (default).\n" +" pass the validation method to be used; argument\n" +" can be 'filesize' or 'buildid' (default).\n" "\n" "Check options:\n" " Without options, \"criu check\" checks availability of absolutely required\n"