diff options
author | Phil Sutter <phil@nwl.cc> | 2019-01-15 23:23:03 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-01-18 02:42:08 +0100 |
commit | 2b801fc515ae094d04207e840ed191196292b968 (patch) | |
tree | 2accbec133c0c11430d48dc55125077865b2b206 /include/xtables-version.h.in | |
parent | 41358d474357a39d616302c03cd7f943e19969a2 (diff) |
nft: Add new builtin chains to cache immediately
Newly created builtin chains missing from cache was the sole reason for
the immediate calls to nft_commit(). With nft_chain_builtin_add()
inserting the new chain into the table's chain list, this is not needed
anymore. Just make sure batch_obj_del() doesn't free the payload of
NFT_COMPAT_CHAIN_ADD jobs since it contains the new chain which has
been added to cache.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/xtables-version.h.in')
0 files changed, 0 insertions, 0 deletions