diff options
author | Kefeng Wang <wangkefeng.wang@huawei.com> | 2019-02-23 15:28:28 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-24 21:57:26 -0800 |
commit | 75efc250d2e57c43761890388a92eecd93aa9e45 (patch) | |
tree | 108b0c8bb7987e7c97f5e9e9cfa4b1153e199769 /include | |
parent | 3232a1ef0f0d1b8d3c5bb4d5b3584fa45d29f760 (diff) |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/netns/ipv6.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/netns/ipv6.h b/include/net/netns/ipv6.h index ef1ed529f33c..b028a1dc150d 100644 --- a/include/net/netns/ipv6.h +++ b/include/net/netns/ipv6.h @@ -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; |