]> granicus.if.org Git - ipset/commit
Fix calling ip_set() macro at dumping
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Fri, 19 Oct 2018 17:37:28 +0000 (19:37 +0200)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Fri, 19 Oct 2018 17:40:38 +0000 (19:40 +0200)
commit97f65c77f929b599c604a5d7dbc7f254ea421814
tree2d4156a0be7bbfc39e18319d693614bdcf0a84ee
parentab9f07b599b26f71b8ee48f1a4a2f375a08ea386
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.

Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
kernel/net/netfilter/ipset/ip_set_core.c