]> 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)
commit7ce0efa15252df116101bec94a1a5fb2234b6684
treef319fbf97b50c92a29c6bebd61878f8101da32bc
parent1390b9c5d42590c5e60c5356c124615c76318b2f
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