summaryrefslogtreecommitdiffstats
path: root/block/ll_rw_blk.c
diff options
context:
space:
mode:
authorPatrick McHardy2007-12-05 10:25:46 +0100
committerDavid S. Miller2008-01-28 23:56:12 +0100
commit9521409265d3bae939ace4c259f765c29339730f (patch)
treec622a14e0b245b2b32b2915b45649fa06f2fb7ea /block/ll_rw_blk.c
parent[NETFILTER]: nfnetlink_queue: deobfuscate entry lookups (diff)
downloadkernel-qcow2-linux-9521409265d3bae939ace4c259f765c29339730f.tar.gz
kernel-qcow2-linux-9521409265d3bae939ace4c259f765c29339730f.tar.xz
kernel-qcow2-linux-9521409265d3bae939ace4c259f765c29339730f.zip
[NETFILTER]: ip_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 <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block/ll_rw_blk.c')
0 files changed, 0 insertions, 0 deletions