diff options
author | Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> | 2014-02-11 18:36:44 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-02-12 10:10:10 +0100 |
commit | e6b8e172fca48f5d80699afe80947b0fc1f23fd6 (patch) | |
tree | 7464bcc9cec4fdee20bec33923ddefd6f7abb8ab /iptables/nft.h | |
parent | 690ea18fdd6f8bc12322a729a2f7c97d8e731c43 (diff) |
nft: Initialize a table only once
This helps to remove some runtime overhead, especially when running
xtables-restore.
Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'iptables/nft.h')
-rw-r--r-- | iptables/nft.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/iptables/nft.h b/iptables/nft.h index 3b58d514..c31371c0 100644 --- a/iptables/nft.h +++ b/iptables/nft.h @@ -22,6 +22,7 @@ struct builtin_chain { struct builtin_table { const char *name; struct builtin_chain chains[NF_INET_NUMHOOKS]; + bool initialized; }; struct nft_handle { |