]> git.proxmox.com Git - mirror_lxc.git/commit - src/lxc/lxccontainer.h
c/r: drop in-flight connections during CRIU dump
authorAdrian Reber <areber@redhat.com>
Mon, 4 Jul 2016 14:58:09 +0000 (16:58 +0200)
committerAdrian Reber <areber@redhat.com>
Tue, 12 Jul 2016 12:09:17 +0000 (14:09 +0200)
commitf195450384bd90b7d526425de0f8b3f33dd005f5
tree4f4c4f600507f31042434cb299d72e9d6e3e7b4d
parenta4abe1bbb531417decc2493b2beadb960258b100
c/r: drop in-flight connections during CRIU dump

Shortly after CRIU 2.3 has been released a patch has been added to skip
in-flight TCP connections. In-flight connections are not completely
established connections (SYN, SYN-ACK). Skipping in-flight TCP
connections means that the client has to re-initiate the connection
establishment.

This patch stores the CRIU version detected during version check, so
that during dump/checkpoint options can be dynamically enabled depending
on the available CRIU version.

v2:
   * use the newly introduced criu version interface
   * add an option to disable skipping in-flight connections

Signed-off-by: Adrian Reber <areber@redhat.com>
src/lxc/criu.c
src/lxc/lxccontainer.h