]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nftables: disallow updates on table ownership
authorPablo Neira Ayuso <pablo@netfilter.org>
Sat, 27 Feb 2021 21:31:27 +0000 (22:31 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 2 Mar 2021 15:37:22 +0000 (16:37 +0100)
commit352297f96d78202731603d2e2bbf98757e4f37f5
treeeed207ebcc8cd4f942869d48a0f2f947f89243e2
parent5496b010a4588057336bd175aa2bf0a5a73d2557
netfilter: nftables: disallow updates on table ownership

Disallow updating the ownership bit on an existing table: Do not allow
to grab ownership on an existing table. Do not allow to drop ownership
on an existing table.

Fixes: 91d14e52feec ("netfilter: nftables: introduce table ownership")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_api.c