From: Alexey Dobriyan Date: Tue, 6 Nov 2007 04:44:06 +0000 (-0800) Subject: [NETFILTER]: nf_sockopts list head cleanup X-Git-Tag: v2.6.24-rc3~179^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55d84acd366f08e11ff00139f32fe4394fb0016a;p=pandora-kernel.git [NETFILTER]: nf_sockopts list head cleanup Code is using knowledge that nf_sockopt_ops::list list_head is first field in structure by using casts. Switch to list_for_each_entry() itetators while I am at it. Signed-off-by: Alexey Dobriyan Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller --- Reading git-diff-tree failed