ipv6: use this_cpu_read() in rt6_get_pcpu_route()
authorEric Dumazet <edumazet@google.com>
Sat, 1 Jun 2019 01:11:25 +0000 (18:11 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Jun 2019 22:06:36 +0000 (15:06 -0700)
commitc353071ad0a2ef754fcba4153098e3cdc5ca516e
tree5fea2e27c303f86fe2912e58225b60bf7a018a2e
parent4ebcfd9a9fbc44375ef73c938b1a23dbd10fd8a2
ipv6: use this_cpu_read() in rt6_get_pcpu_route()

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/ipv6/route.c