]> 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:16:24 +0000 (20:16 +0100)
commite0281bb5a82d702cd1e14afac817d37fde130527
treee7ff6d4be2dc73932b0b9003400149611fe9c75f
parent828f2a20f946ff3a2ef2190cfc6118cc629568f1
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