netfilter: ipset: Missing nfnl_lock()/nfnl_unlock() is added to ip_set_net_exit()
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Sat, 6 Jan 2018 14:24:18 +0000 (15:24 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 8 Jan 2018 17:11:12 +0000 (18:11 +0100)
commitf998b6b10144cd9809da6af02758615f789e8aa1
tree1d1c079d55ba9664cf9cac259de7b72ada1f5d5b
parent4750005a85f76b3df1e5df19c283dde96b071515
netfilter: ipset: Missing nfnl_lock()/nfnl_unlock() is added to ip_set_net_exit()

Patch "netfilter: ipset: use nfnl_mutex_is_locked" is added the real
mutex locking check, which revealed the missing locking in ip_set_net_exit().

Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Reported-by: syzbot+36b06f219f2439fe62e1@syzkaller.appspotmail.com
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/ipset/ip_set_core.c