]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
net: add __netdev_alloc_pcpu_stats() to indicate gfp flags
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 10 Nov 2015 13:31:18 +0000 (14:31 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 10 Nov 2015 22:47:32 +0000 (23:47 +0100)
nf_tables may create percpu counters from the packet path through its
dynamic set instantiation infrastructure, so we need a way to allocate
this through GFP_ATOMIC.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Acked-by: David S. Miller <davem@davemloft.net>

No differences found