]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: sr: static percpu allocation for hmac_ring
authorEric Dumazet <edumazet@google.com>
Thu, 12 Jan 2017 16:50:10 +0000 (08:50 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Jan 2017 21:52:19 +0000 (16:52 -0500)
commitb7c59409d1d3bd978e95f4f232b161200db66cdc
tree600641c51c4944c7e02f0cb1bf3eb5487c919cdd
parentc0495e05aac715d5afdeefc24c2ac65b70009fe8
ipv6: sr: static percpu allocation for hmac_ring

Current allocations are not NUMA aware, and lack proper
cleanup in case of error.

It is perfectly fine to use static per cpu allocations for 256 bytes
per cpu.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: David Lebrun <david.lebrun@uclouvain.be>
Acked-by: David Lebrun <david.lebrun@uclouvain.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/seg6_hmac.c