Re: [PATCH net-next] ipv6: icmp: use this_cpu_read() in icmpv6_sk()

2019-06-03 Thread David Miller
From: Eric Dumazet Date: Fri, 31 May 2019 15:27:00 -0700 > In general, this_cpu_read(*X) is faster than *this_cpu_ptr(X) > > Also remove the inline attibute, totally useless. > > Signed-off-by: Eric Dumazet > Cc: Kefeng Wang Applied.

[PATCH net-next] ipv6: icmp: use this_cpu_read() in icmpv6_sk()

2019-05-31 Thread Eric Dumazet
In general, this_cpu_read(*X) is faster than *this_cpu_ptr(X) Also remove the inline attibute, totally useless. Signed-off-by: Eric Dumazet Cc: Kefeng Wang --- net/ipv6/icmp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/ipv6/icmp.c b/net/ipv6/icmp.c index afb91