diff options
author | Paolo Abeni <pabeni@redhat.com> | 2019-02-15 18:15:37 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-15 20:25:26 -0800 |
commit | 1490ed2abc4fa4d7fa6e8498b9fa4243a6ce7f8a (patch) | |
tree | 704af066c03cc803efcd38c86a3d571fa050a756 /include/sound | |
parent | 59e6158acafa2fc80160d8a8241c2a715fe89cff (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 'include/sound')
0 files changed, 0 insertions, 0 deletions