summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorMichael Wang <wangyun@linux.vnet.ibm.com>2012-08-22 19:59:57 +0000
committerPablo Neira Ayuso <pablo@netfilter.org>2012-09-03 13:52:44 +0200
commit2a6decfd8a5fae0422c98a22aa6bc30224b8a3ec (patch)
tree62c21cdac0ffeee0afe68b012350bb47e289b4d1 /include/linux
parent965505015beccc4ec900798070165875b8e8dccf (diff)
downloadcachepc-linux-2a6decfd8a5fae0422c98a22aa6bc30224b8a3ec.tar.gz
cachepc-linux-2a6decfd8a5fae0422c98a22aa6bc30224b8a3ec.zip
netfilter: pass 'nf_hook_ops' instead of 'list_head' to nf_iterate()
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. Signed-off-by: Michael Wang <wangyun@linux.vnet.ibm.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions