Re: [PATCH 2/2] netfilter: pass 'nf_hook_ops' instead of 'list_head' to nf_queue()

2012-09-03 Thread Pablo Neira Ayuso
On Thu, Aug 23, 2012 at 02:00:06PM +0800, Michael Wang wrote: > From: Michael Wang > > Since 'list_for_each_continue_rcu' has already been replaced by > 'list_for_each_entry_continue_rcu', pass 'list_head' to nf_queue() as a > parameter can not benefit us any more. > > This patch will replace

Re: [PATCH 2/2] netfilter: pass 'nf_hook_ops' instead of 'list_head' to nf_queue()

2012-09-03 Thread Pablo Neira Ayuso
On Thu, Aug 23, 2012 at 02:00:06PM +0800, Michael Wang wrote: From: Michael Wang wang...@linux.vnet.ibm.com Since 'list_for_each_continue_rcu' has already been replaced by 'list_for_each_entry_continue_rcu', pass 'list_head' to nf_queue() as a parameter can not benefit us any more. This

[PATCH 2/2] netfilter: pass 'nf_hook_ops' instead of 'list_head' to nf_queue()

2012-08-23 Thread Michael Wang
From: Michael Wang Since 'list_for_each_continue_rcu' has already been replaced by 'list_for_each_entry_continue_rcu', pass 'list_head' to nf_queue() as a parameter can not benefit us any more. This patch will replace 'list_head' with 'nf_hook_ops' as the parameter of nf_queue() and

[PATCH 2/2] netfilter: pass 'nf_hook_ops' instead of 'list_head' to nf_queue()

2012-08-23 Thread Michael Wang
From: Michael Wang wang...@linux.vnet.ibm.com Since 'list_for_each_continue_rcu' has already been replaced by 'list_for_each_entry_continue_rcu', pass 'list_head' to nf_queue() as a parameter can not benefit us any more. This patch will replace 'list_head' with 'nf_hook_ops' as the parameter of