]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd6764fe11a3df1bb7d9294da008ad64d0f6db9e8
tree9d6f868aec5c556a43c38e73d536005dfbe4a475
parent7f0a4dea736e70ae10bef8bab084625eac9293bd
net: add __netdev_alloc_pcpu_stats() to indicate gfp flags

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>
include/linux/netdevice.h