diff options
| author | Paolo Abeni <[email protected]> | 2019-02-15 18:15:37 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-02-15 20:25:26 -0800 |
| commit | 1490ed2abc4fa4d7fa6e8498b9fa4243a6ce7f8a (patch) | |
| tree | 704af066c03cc803efcd38c86a3d571fa050a756 /scripts/gdb/linux/proc.py | |
| 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 <[email protected]>
Reviewed-by: David Ahern <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions