]> git.ipfire.org Git - thirdparty/libvirt.git/commit
network: turn on auto-rollback for the rules added for virtual networks
authorLaine Stump <laine@redhat.com>
Sat, 20 Apr 2024 02:19:42 +0000 (22:19 -0400)
committerLaine Stump <laine@redhat.com>
Thu, 23 May 2024 03:19:36 +0000 (23:19 -0400)
commite1b6b0646ff722a569171663f3c0ba8b996b05cd
tree4ab7a53907ca70ea08ed3655e1c479b06019d142
parente23907635c383ee619bf54170257cb9e0692ccdd
network: turn on auto-rollback for the rules added for virtual networks

So far this will only affect what happens if there is some failure
while applying the firewall rules; the rollback rules aren't yet
persistent beyond that time. More work is needed to remember the
rollback rules while the network is active, and use those rules to
remove the firewall for the network when it is destroyed.

Signed-off-by: Laine Stump <laine@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
src/network/network_iptables.c