From: Florian Westphal Date: Tue, 22 Nov 2016 13:44:17 +0000 (+0100) Subject: netfilter: x_tables: pass xt_counters struct instead of packet counter X-Git-Tag: Ubuntu-4.10.0-19.21~2095^2~53^2~27 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=4d31eef5176df06f218201bc9c0ce40babb41660;hp=4d31eef5176df06f218201bc9c0ce40babb41660;p=mirror_ubuntu-artful-kernel.git netfilter: x_tables: pass xt_counters struct instead of packet counter On SMP we overload the packet counter (unsigned long) to contain percpu offset. Hide this from callers and pass xt_counters address instead. Preparation patch to allocate the percpu counters in page-sized batch chunks. Signed-off-by: Florian Westphal Acked-by: Eric Dumazet Signed-off-by: Pablo Neira Ayuso ---