Skip to content
Commit 27c5a095 authored by Jozsef Kadlecsik's avatar Jozsef Kadlecsik Committed by Pablo Neira Ayuso
Browse files

netfilter: ipset: Missing gc cancellations fixed

The patch fdb8e12cc2cc ("netfilter: ipset: fix performance regression
in swap operation") missed to add the calls to gc cancellations
at the error path of create operations and at module unload. Also,
because the half of the destroy operations now executed by a
function registered by call_rcu(), neither NFNL_SUBSYS_IPSET mutex
or rcu read lock is held and therefore the checking of them results
false warnings.

Fixes: 97f7cf1c

 ("netfilter: ipset: fix performance regression in swap operation")
Reported-by: default avatar <syzbot+52bbc0ad036f6f0d4a25@syzkaller.appspotmail.com>
Reported-by: default avatarBrad Spengler <spender@grsecurity.net>
Reported-by: default avatarСтас Ничипорович <stasn77@gmail.com>
Tested-by: default avatarBrad Spengler <spender@grsecurity.net>
Tested-by: default avatarСтас Ничипорович <stasn77@gmail.com>
Signed-off-by: default avatarJozsef Kadlecsik <kadlec@netfilter.org>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent ab0beafd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment