]> 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)
commitb3b3d03e4f4c2636e46ff4c12a0ceb085b4df991
treeebbcd22afd226d801e7803eb6563295955e8b819
parent601c9f1d0393a083e63de2c102a81754a0db51e3
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