summaryrefslogtreecommitdiff
path: root/kernel/latencytop.c
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2019-02-15 18:15:37 +0100
committerDavid S. Miller <davem@davemloft.net>2019-02-15 20:25:26 -0800
commit1490ed2abc4fa4d7fa6e8498b9fa4243a6ce7f8a (patch)
tree704af066c03cc803efcd38c86a3d571fa050a756 /kernel/latencytop.c
parent59e6158acafa2fc80160d8a8241c2a715fe89cff (diff)
net/ipv6: prefer rcu_access_pointer() over rcu_dereference()
rt6_cache_allowed_for_pmtu() checks for rt->from presence, but it does not access the RCU protected pointer. We can use rcu_access_pointer() and clean-up the code a bit. No functional changes intended. Signed-off-by: Paolo Abeni <pabeni@redhat.com> Reviewed-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/latencytop.c')
0 files changed, 0 insertions, 0 deletions