]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit086f332167d64b645d37405854f049b9ad7371ab
tree971692c02428ad47dcaa0b4a75751b3befc01658
parentaabc92bbe3cfe4c545f8ccdaaeeea012a46f0abf
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