I don't find a scenario that trigger this case. Signed-off-by: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> --- iptables/nft.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/iptables/nft.c b/iptables/nft.c index a03a84c9a6d1..c1a079b734cf 100644 --- a/iptables/nft.c +++ b/iptables/nft.c @@ -2787,15 +2787,6 @@ static void nft_refresh_transaction(struct nft_handle *h) else if (!n->skip && !exists) n->skip = 1; break; - case NFT_COMPAT_TABLE_ADD: - tablename = nftnl_table_get_str(n->table, NFTNL_TABLE_NAME); - if (!tablename) - continue; - - exists = nft_table_find(h, tablename); - if (n->skip && !exists) - n->skip = 0; - break; case NFT_COMPAT_CHAIN_USER_ADD: tablename = nftnl_chain_get_str(n->chain, NFTNL_CHAIN_TABLE); if (!tablename) @@ -2815,6 +2806,7 @@ static void nft_refresh_transaction(struct nft_handle *h) n->skip = 0; } break; + case NFT_COMPAT_TABLE_ADD: case NFT_COMPAT_CHAIN_ADD: case NFT_COMPAT_CHAIN_ZERO: case NFT_COMPAT_CHAIN_USER_DEL: -- 2.11.0