]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd245d8a790dd9041e38a3d35cdd0e02c0def0c94
treef319fbf97b50c92a29c6bebd61878f8101da32bc
parent99f904da374e276ae1904090714260843e8fda3b
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