diff options
author | Eric Dumazet <edumazet@google.com> | 2019-05-31 15:27:00 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-03 14:57:41 -0700 |
commit | 2789c14d198a4890f4c61ac5bf7cb02a14a6f99e (patch) | |
tree | 68a48826f214a7ecfba2ee4c2bfd05a7e1e0119f /net/ipv4/ping.c | |
parent | fa85999f492e227b373c20db22acfa993d770e4b (diff) |
ipv6: icmp: use this_cpu_read() in icmpv6_sk()
In general, this_cpu_read(*X) is faster than *this_cpu_ptr(X)
Also remove the inline attibute, totally useless.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ping.c')
0 files changed, 0 insertions, 0 deletions