From: Michael Wang Date: Wed, 22 Aug 2012 19:59:57 +0000 (+0000) Subject: netfilter: pass 'nf_hook_ops' instead of 'list_head' to nf_iterate() X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~47^2~226^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a6decfd8a5fae0422c98a22aa6bc30224b8a3ec;p=pandora-kernel.git 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 Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed