]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_tables: add clone interface to expression operations
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 10 Nov 2015 12:39:42 +0000 (13:39 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 10 Nov 2015 22:47:32 +0000 (23:47 +0100)
commitf87c21e1b31e8720b39f5586fc76cbcfa024d369
tree971692c02428ad47dcaa0b4a75751b3befc01658
parentd1372148bf01c34f938100c8ee235bf0ac295a39
netfilter: nf_tables: add clone interface to expression operations

With the conversion of the counter expressions to make it percpu, we
need to clone the percpu memory area, otherwise we crash when using
counters from flow tables.

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