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)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 17 Dec 2020 18:44:52 +0000 (19:44 +0100)
commit443d6e86f821a165fae3fc3fc13086d27ac140b1
treea64fe4c24e4c676aef473844b4fe5c13a4f69195
parent161b838e25c6f83495e27e3f546b893622d442bf
netfilter: x_tables: Update remaining dereference to RCU

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>
net/ipv4/netfilter/arp_tables.c
net/ipv4/netfilter/ip_tables.c
net/ipv6/netfilter/ip6_tables.c