]> asedeno.scripts.mit.edu Git - linux.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)
commit046386ca0c48cca1d91563db63a8eb0aff71f2b7
treeebbcd22afd226d801e7803eb6563295955e8b819
parentc353071ad0a2ef754fcba4153098e3cdc5ca516e
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