]> 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)
commitc9e5094207588a146d29fd906ff790538a1e666d
tree821e84b58236e8b028b70b010e99a0f43e008499
parent39bc1497207ddc1b035897cd3ce981c68c696822
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