netfilter: nf_conntrack: use rcu accessors where needed
authorFlorian Westphal <fw@strlen.de>
Wed, 22 Jun 2022 09:00:46 +0000 (11:00 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 11 Jul 2022 14:25:15 +0000 (16:25 +0200)
commite14575fa752956b88a7faedc32b096700cbf9445
treea6ac5372fa5a16038912715a3d031ba2a0260212
parent6976890e8998afd8abbbd9fe27ed71387b24f57f
netfilter: nf_conntrack: use rcu accessors where needed

Sparse complains about direct access to the 'helper' and timeout members.
Both have __rcu annotation, so use the accessors.

xt_CT is fine, accesses occur before the structure is visible to other
cpus.  Switch to rcu accessors there as well to reduce noise.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_conntrack_broadcast.c
net/netfilter/nf_conntrack_helper.c
net/netfilter/nf_conntrack_netlink.c
net/netfilter/nf_conntrack_sip.c
net/netfilter/nf_conntrack_timeout.c
net/netfilter/nfnetlink_cthelper.c
net/netfilter/xt_CT.c