ipv6: icmp: use percpu allocation
Use percpu allocation for the ipv6.icmp_sk. Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
3232a1ef0f
commit
75efc250d2
@@ -83,7 +83,7 @@ struct netns_ipv6 {
|
||||
struct fib6_table *fib6_local_tbl;
|
||||
struct fib_rules_ops *fib6_rules_ops;
|
||||
#endif
|
||||
struct sock **icmp_sk;
|
||||
struct sock * __percpu *icmp_sk;
|
||||
struct sock *ndisc_sk;
|
||||
struct sock *tcp_sk;
|
||||
struct sock *igmp_sk;
|
||||
|
Reference in New Issue
Block a user