netfilter: nft_counter: convert it to use per-cpu counters
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 8 Jun 2015 12:42:40 +0000 (14:42 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 7 Aug 2015 09:49:48 +0000 (11:49 +0200)
commit0c45e76960ded9da56bd66e603a7f0cae215f87e
treefab10cb38a11bd4d47e162f0b7b67b56c17073b0
parentd92cff89a0c80e7e49796366e441d97f07b5d321
netfilter: nft_counter: convert it to use per-cpu counters

This patch converts the existing seqlock to per-cpu counters.

Suggested-by: Eric Dumazet <eric.dumazet@gmail.com>
Suggested-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_counter.c