]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_tables: add NFT_CHAIN_BINDING
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 30 Jun 2020 17:21:36 +0000 (19:21 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 3 Jul 2020 23:22:14 +0000 (01:22 +0200)
commit5ac41f4b815c9ec8f42c27a1ff80bd10c2f4c681
treeaeb58859a40e1b8478a275c2fd534b5bf56cad10
parent3c53bd5d818dc60f3e4cfb2fba9c9025f9a25db4
netfilter: nf_tables: add NFT_CHAIN_BINDING

This new chain flag specifies that:

* the kernel dynamically allocates the chain name, if no chain name
  is specified.

* If the immediate expression that refers to this chain is removed,
  then this bound chain (and its content) is destroyed.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_tables.h
include/uapi/linux/netfilter/nf_tables.h
net/netfilter/nf_tables_api.c
net/netfilter/nft_immediate.c