]> git.baikalelectronics.ru Git - kernel.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)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 17 Dec 2020 18:44:52 +0000 (19:44 +0100)
commit78f1ea0b998db105e12a4abd2eeb32bd0bac98de
treea64fe4c24e4c676aef473844b4fe5c13a4f69195
parent524edd503ebd9dece77dea6d74952e34a47cc168
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: af6dbbd1dd55 ("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