aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2017-11-27 12:26:06 -0500
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2017-12-05 14:57:54 -0500
commitdfe1b4427835f995aed593d063e6fcdf78b00823 (patch)
tree5a2f95d5bba31e6f3c3dbfc9aeee5bff35196873
parent632a5c1c8fd281b82b1d70bdb1d692cba3b9ffd3 (diff)
netlink: Remove smp_read_barrier_depends() from comment
Now that smp_read_barrier_depends() has been de-emphasized, the less said about it, the better. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Pablo Neira Ayuso <pablo@netfilter.org> Cc: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> Cc: Florian Westphal <fw@strlen.de> Cc: <netfilter-devel@vger.kernel.org> Cc: <coreteam@netfilter.org>
-rw-r--r--include/linux/netfilter/nfnetlink.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/netfilter/nfnetlink.h b/include/linux/netfilter/nfnetlink.h
index 495ba4dd9da5..34551f8aaf9d 100644
--- a/include/linux/netfilter/nfnetlink.h
+++ b/include/linux/netfilter/nfnetlink.h
@@ -67,8 +67,7 @@ static inline bool lockdep_nfnl_is_held(__u8 subsys_id)
67 * @ss: The nfnetlink subsystem ID 67 * @ss: The nfnetlink subsystem ID
68 * 68 *
69 * Return the value of the specified RCU-protected pointer, but omit 69 * Return the value of the specified RCU-protected pointer, but omit
70 * both the smp_read_barrier_depends() and the READ_ONCE(), because 70 * the READ_ONCE(), because caller holds the NFNL subsystem mutex.
71 * caller holds the NFNL subsystem mutex.
72 */ 71 */
73#define nfnl_dereference(p, ss) \ 72#define nfnl_dereference(p, ss) \
74 rcu_dereference_protected(p, lockdep_nfnl_is_held(ss)) 73 rcu_dereference_protected(p, lockdep_nfnl_is_held(ss))