]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4: icmp: use this_cpu_read() in icmp_sk()
authorEric Dumazet <edumazet@google.com>
Sat, 1 Jun 2019 02:09:02 +0000 (19:09 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Jun 2019 22:08:53 +0000 (15:08 -0700)
commit4f57cb5db4023b4d0eae4f70e2e9671c5ce046b3
treeebbcd22afd226d801e7803eb6563295955e8b819
parentb809bbcd5fca2bb9187da94030b8435a8fa2ce86
ipv4: icmp: use this_cpu_read() in icmp_sk()

this_cpu_read(*X) is faster than *this_cpu_ptr(X)

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/icmp.c