Re: [PATCH] netfilter: fix race condition in ipset save and delete

2016-03-13 Thread Vishwanath Pai
Hi Jozsef, On 03/13/2016 08:07 AM, Jozsef Kadlecsik wrote: > Hi, > > On Sat, 12 Mar 2016, Vishwanath Pai wrote: > >> netfilter: fix race condition in ipset save and delete >> >> This fix adds a new reference counter (ref_kernel) for the struct ip_set. >> The other reference counter (ref) is used

Re: [PATCH] netfilter: fix race condition in ipset save and delete

2016-03-13 Thread Jozsef Kadlecsik
Hi, On Sat, 12 Mar 2016, Vishwanath Pai wrote: > netfilter: fix race condition in ipset save and delete > > This fix adds a new reference counter (ref_kernel) for the struct ip_set. > The other reference counter (ref) is used to track references from the > userspace and we need a separate counte

[PATCH] netfilter: fix race condition in ipset save and delete

2016-03-12 Thread Vishwanath Pai
netfilter: fix race condition in ipset save and delete This fix adds a new reference counter (ref_kernel) for the struct ip_set. The other reference counter (ref) is used to track references from the userspace and we need a separate counter to keep track of in-kernel references. Using the same ref