being created if they already exist. Possibly speeding up nwfilter by
reducing the amount of iptable commands it executes. This however is not
part of this patch.
Solves: https://gitlab.com/libvirt/libvirt/-/issues/784
Signed-off-by: Dion Bosschieter
---
src/nwfilter/nwfilter_ebiptables_driver.c
filter: Check before removing and reinserting iptable base chains".
I also edited nwfilterxml2firewalltest, so it pretends that currently there are
no chains and I changed the expected order of the commonRules.
Dion Bosschieter (1):
nwfilter: Check before removing and reinserting iptable b
operations.
Signed-off-by: Dion Bosschieter
---
src/nwfilter/nwfilter_ebiptables_driver.c | 79 ++-
1 file changed, 47 insertions(+), 32 deletions(-)
diff --git a/src/nwfilter/nwfilter_ebiptables_driver.c
b/src/nwfilter/nwfilter_ebiptables_driver.c
index 067df6e612
operations.
Signed-off-by: Dion Bosschieter
---
src/nwfilter/nwfilter_ebiptables_driver.c | 79 ++-
1 file changed, 47 insertions(+), 32 deletions(-)
diff --git a/src/nwfilter/nwfilter_ebiptables_driver.c
b/src/nwfilter/nwfilter_ebiptables_driver.c
index 067df6e612
`nwfilterBindingDelete` to maintain
consistent locking order.
Signed-off-by: Dion Bosschieter
---
src/nwfilter/nwfilter_driver.c | 13 -
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/src/nwfilter/nwfilter_driver.c b/src/nwfilter/nwfilter_driver.c
index 8ece91bf7c..58e9fcfd51 100644
`nwfilterBindingDelete` to maintain
consistent locking order, as suggested.
Fixes: https://gitlab.com/libvirt/libvirt/-/issues/680
Dion Bosschieter (1):
nwfilter: Fix deadlock between nwfilter-list and VM startup/migration
src/nwfilter/nwfilter_driver.c | 13 -
1 file changed, 8 insertions