From: Patrick McHardy Date: Wed, 5 Dec 2007 09:26:02 +0000 (-0800) Subject: [NETFILTER]: ip6_queue: deobfuscate entry lookups X-Git-Tag: v2.6.25-rc1~1162^2~1238 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=171b7fc4fc178a004aec8d06eb745c30ae726fb6;p=pandora-kernel.git [NETFILTER]: ip6_queue: deobfuscate entry lookups A queue entry lookup currently looks like this: ipq_find_dequeue_entry -> __ipq_find_dequeue_entry -> __ipq_find_entry -> cmpfn -> id_cmp Use simple open-coded list walking and kill the cmpfn for ipq_find_dequeue_entry. Instead add it to ipq_flush (after similar cleanups) and use ipq_flush for both complete flushes and flushing entries related to a device. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller --- Reading git-diff-tree failed