aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2018-10-30 22:43:42 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2018-11-03 13:28:01 +0100
commit8a02bdd50b2ecb6d62121d2958d3ea186cc88ce7 (patch)
treeda24e01ea80e6ecccc657fe8891ae5925874d58c /include
parentnetfilter: xt_IDLETIMER: add sysfs filename checking routine (diff)
downloadlinux-dev-8a02bdd50b2ecb6d62121d2958d3ea186cc88ce7.tar.xz
linux-dev-8a02bdd50b2ecb6d62121d2958d3ea186cc88ce7.zip
netfilter: ipset: Fix calling ip_set() macro at dumping
The ip_set() macro is called when either ip_set_ref_lock held only or no lock/nfnl mutex is held at dumping. Take this into account properly. Also, use Pablo's suggestion to use rcu_dereference_raw(), the ref_netlink protects the set. Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions