]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
netfilter: x_tables: Update remaining dereference to RCU
authorSubash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Thu, 17 Dec 2020 04:38:02 +0000 (21:38 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Jan 2021 19:10:24 +0000 (20:10 +0100)
commit954cc63f5d49851073c508d596af054da59505ab
tree3a8abd8f5749bcbe053fdc588efbcfebbde6d8cd
parent0c47135536b86d377c60e8f07a2a9f041843caeb
netfilter: x_tables: Update remaining dereference to RCU

commit 443d6e86f821a165fae3fc3fc13086d27ac140b1 upstream.

This fixes the dereference to fetch the RCU pointer when holding
the appropriate xtables lock.

Reported-by: kernel test robot <lkp@intel.com>
Fixes: cc00bcaa5899 ("netfilter: x_tables: Switch synchronization to RCU")
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Reviewed-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ipv4/netfilter/arp_tables.c
net/ipv4/netfilter/ip_tables.c
net/ipv6/netfilter/ip6_tables.c