diff options
author | Michalis Kokologiannakis <[email protected]> | 2017-03-20 22:38:35 +0100 |
---|---|---|
committer | Paul E. McKenney <[email protected]> | 2017-04-12 08:23:42 -0700 |
commit | 93728af0a1f63e13d6f7f56a434965b05b8b2abd (patch) | |
tree | 51e775a3be39b18e623c5726eece18b7bcc5a92c /net/ipv6/tcp_ipv6.c | |
parent | 066bb1c84aa430d15f36070471cbfe8976631cce (diff) |
doc: Update the comparisons rule in rcu_dereference.txt
When an RCU-protected pointer is fetched but never dereferenced
rcu_access_pointer() should be used in place of rcu_dereference().
This commit explicitly records this very fact in Documentation/
RCU/rcu_dereference.txt, in order to prevent the usage of
rcu_dereference() in comparisons.
Signed-off-by: Michalis Kokologiannakis <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
0 files changed, 0 insertions, 0 deletions