Re: [PATCH RFC nf-next 11/12] netfilter: ipset: remove last region lock usage

Florian Westphal <[email protected]> Thu, 16 Jul 2026 16:08:32 +0200
Newsgroups gmane.comp.security.firewalls.netfilter.devel
Message-ID <[email protected]>
Jozsef Kadlecsik <[email protected]> wrote:
> > Move lock responsibility into kadt/uadt/flush callbacks and remove the
> > last .region_lock users.
> 
> Why move the set->lock locking into the callbacks? As now all types use it,
> it'd be easier to keep it in core and not replicate it in all callbacks.

Ideally the hash types would never use it (or only for comment
extension) for delete/add.