Re: [PATCH nf-next] net: netfilter: nf_tables_api: Use id allocation.

2018-03-13 Thread Varsha Rao
Hello Pablo, On Mon, Mar 12, 2018 at 2:33 AM, Pablo Neira Ayuso wrote: > > Hi Varsha, > > On Sat, Feb 17, 2018 at 12:19:18AM +0530, Varsha Rao wrote: > > In nf_tables_set_alloc_name function, remove get_zeroed_page > > find_first_zero_bit and set_bit functions. Instead use

Re: [PATCH nf-next] net: netfilter: nf_tables_api: Use id allocation.

2018-03-11 Thread Pablo Neira Ayuso
Hi Varsha, On Sat, Feb 17, 2018 at 12:19:18AM +0530, Varsha Rao wrote: > In nf_tables_set_alloc_name function, remove get_zeroed_page > find_first_zero_bit and set_bit functions. Instead use ida_simple_get > function as it simplifies the code. > > Signed-off-by: Varsha Rao

[PATCH nf-next] net: netfilter: nf_tables_api: Use id allocation.

2018-02-16 Thread Varsha Rao
In nf_tables_set_alloc_name function, remove get_zeroed_page find_first_zero_bit and set_bit functions. Instead use ida_simple_get function as it simplifies the code. Signed-off-by: Varsha Rao --- net/netfilter/nf_tables_api.c | 27 +++ 1 file