]> 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)
commitb3e0422a6100fd5ced359518e967ea0f34b2e374
tree821e84b58236e8b028b70b010e99a0f43e008499
parent0259c6e06181746d02c50eec5d9c1be6df62677b
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