]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nftables: allow to update flowtable flags
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 17 Mar 2021 11:54:57 +0000 (12:54 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 17 Mar 2021 23:32:21 +0000 (00:32 +0100)
commit7b35582cd04ace2fd1807c1b624934e465cc939d
tree56896233e8b35bf046ac6cfa0055a06d1ae99ffe
parent7e6136f1b7272b2202817cff37ada355eb5e6784
netfilter: nftables: allow to update flowtable flags

Honor flowtable flags from the control update path. Disallow disabling
to toggle hardware offload support though.

Fixes: 8bb69f3b2918 ("netfilter: nf_tables: add flowtable offload control plane")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_tables.h
net/netfilter/nf_tables_api.c