Thread (2 messages) flat view 2 messages, 2 authors, 2012-09-03

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

From: Pablo Neira Ayuso <pablo@netfilter.org>
Date: 2012-09-03 15:31:46
Also in: lkml, netfilter-devel

On Thu, Aug 23, 2012 at 01:59:57PM +0800, Michael Wang wrote:
From: Michael Wang <redacted>

Since 'list_for_each_continue_rcu' has already been replaced by
'list_for_each_entry_continue_rcu', pass 'list_head' to nf_iterate() as a
parameter can not benefit us any more.

This patch will replace 'list_head' with 'nf_hook_ops' as the parameter of
nf_iterate() to save code.
Applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help