diff options
author | Florian Westphal <fw@strlen.de> | 2022-06-22 11:00:45 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2022-07-11 16:25:15 +0200 |
commit | 6976890e8998afd8abbbd9fe27ed71387b24f57f (patch) | |
tree | cb23397ad2a5914ebfe19cc4f6c88fe2569e0b37 /include/linux/netfilter | |
parent | b038177636f83bbf87c2b238706474145dd2cd04 (diff) | |
download | linux-stable-6976890e8998afd8abbbd9fe27ed71387b24f57f.tar.gz linux-stable-6976890e8998afd8abbbd9fe27ed71387b24f57f.tar.bz2 linux-stable-6976890e8998afd8abbbd9fe27ed71387b24f57f.zip |
netfilter: nf_conntrack: add missing __rcu annotations
Access to the hook pointers use correct helpers but the pointers lack
the needed __rcu annotation.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/linux/netfilter')
-rw-r--r-- | include/linux/netfilter/nf_conntrack_sip.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netfilter/nf_conntrack_sip.h b/include/linux/netfilter/nf_conntrack_sip.h index c620521c42bc..dbc614dfe0d5 100644 --- a/include/linux/netfilter/nf_conntrack_sip.h +++ b/include/linux/netfilter/nf_conntrack_sip.h @@ -164,7 +164,7 @@ struct nf_nat_sip_hooks { unsigned int medialen, union nf_inet_addr *rtp_addr); }; -extern const struct nf_nat_sip_hooks *nf_nat_sip_hooks; +extern const struct nf_nat_sip_hooks __rcu *nf_nat_sip_hooks; int ct_sip_parse_request(const struct nf_conn *ct, const char *dptr, unsigned int datalen, unsigned int *matchoff, |