Skip to content
Commit aabc92bb authored by Pablo Neira Ayuso's avatar Pablo Neira Ayuso
Browse files

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: default avatarPablo Neira Ayuso <pablo@netfilter.org>
Acked-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 74ec4d55
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment