From cf3e9100eedce518e42dfb6933c7871d041a7d18 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Thu, 23 Jul 2020 14:15:53 +0200 Subject: iptables: replace libnftnl table list by linux list This patch removes the libnftnl table list by linux list. This comes with an extra memory allocation to store the nft_table object. Probably, there is no need to cache the entire nftnl_table in the near future. Signed-off-by: Pablo Neira Ayuso --- iptables/nft.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'iptables/nft.h') diff --git a/iptables/nft.h b/iptables/nft.h index 247255ac..b2175958 100644 --- a/iptables/nft.h +++ b/iptables/nft.h @@ -38,7 +38,7 @@ enum nft_cache_level { }; struct nft_cache { - struct nftnl_table_list *tables; + struct list_head tables; struct { struct nftnl_chain_list *chains; struct nftnl_set_list *sets; -- cgit v1.2.3