]> git.proxmox.com Git - mirror_lxc.git/commit
seccomp: defer reconnecting to the proxy
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 5 Jul 2019 09:36:07 +0000 (11:36 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 9 Jul 2019 10:25:10 +0000 (12:25 +0200)
commit651e63a71980b7e778473f919df3d5580fb0073e
treeefbe3444ee604a6710740c07c72316fd0b73dd1a
parented3a98c4c260fea0886da822fb5a11304cfa8d4d
seccomp: defer reconnecting to the proxy

With the previous commit we now attempt to reconnect to the
proxy in the beginning of the notify handler if we had no
connection.
If the connection fails later on, we now don't really need
to immediately try to reconnect if we send a default
response anyway (particularly if the recv() fails). (This
also gives the proxy more time, for instance if it was just
restarted.)

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/lxc/seccomp.c