]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit601c9f1d0393a083e63de2c102a81754a0db51e3
tree5fea2e27c303f86fe2912e58225b60bf7a018a2e
parent123e33ddd1d6cab3fed0dbb300ca26c92703ace4
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