ipv4: icmp: use percpu allocation
authorEric Dumazet <edumazet@google.com>
Thu, 29 Jan 2015 23:58:09 +0000 (15:58 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Feb 2015 01:48:18 +0000 (17:48 -0800)
commit349c9e3c7341bbab6efbea39acfadeba9ab19f61
treef319fbf97b50c92a29c6bebd61878f8101da32bc
parent58c11b5faed6913f73f2763d3a85e4a668e8ba2b
ipv4: icmp: use percpu allocation

Get rid of nr_cpu_ids and use modern percpu allocation.

Note that the sockets themselves are not yet allocated
using NUMA affinity.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/netns/ipv4.h
net/ipv4/icmp.c