]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nft_counter: remove wrong __percpu of nft_counter_resest()'s arg
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Sat, 19 Jan 2019 21:50:24 +0000 (22:50 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 28 Jan 2019 10:32:43 +0000 (11:32 +0100)
commit8cf3d0ad6b9e2d499edfb26d58930d66ee31dac3
tree20aefa9baa4cf02777794798d4be39d1d89f59d8
parent36ab880c15629c67c22efc9f998b82b332822031
netfilter: nft_counter: remove wrong __percpu of nft_counter_resest()'s arg

nft_counter_rest() has its first argument declared as
struct nft_counter_percpu_priv __percpu *priv
but this structure is not percpu (it only countains
a member 'counter' which is, correctly, a pointer to a
percpu struct nft_counter).

So, remove the '__percpu' from the argument's declaration.

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_counter.c