]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nftables: update table flags from the commit phase
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 18 Mar 2021 00:25:05 +0000 (01:25 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 18 Mar 2021 00:35:39 +0000 (01:35 +0100)
commit0ce7cf4127f14078ca598ba9700d813178a59409
tree821e84b58236e8b028b70b010e99a0f43e008499
parent1b9cd7690a1ef68c8f3756cae1ab88bf86660f0b
netfilter: nftables: update table flags from the commit phase

Do not update table flags from the preparation phase. Store the flags
update into the transaction, then update the flags from the commit
phase.

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