netfilter: pass 'nf_hook_ops' instead of 'list_head' to nf_queue()
authorMichael Wang <wangyun@linux.vnet.ibm.com>
Wed, 22 Aug 2012 20:00:06 +0000 (20:00 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 3 Sep 2012 11:52:54 +0000 (13:52 +0200)
commit1c15b677097fc133cc23108d98e0f0846e94cd48
tree89494d50d37478fd5528a9b9e603aefc3bc1ae7b
parent2a6decfd8a5fae0422c98a22aa6bc30224b8a3ec
netfilter: pass 'nf_hook_ops' instead of 'list_head' to nf_queue()

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 __nf_queue() to save code.

Signed-off-by: Michael Wang <wangyun@linux.vnet.ibm.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/core.c
net/netfilter/nf_internals.h
net/netfilter/nf_queue.c
This page took 0.025029 seconds and 5 git commands to generate.