diff options
author | Patrick McHardy <kaber@trash.net> | 2007-12-05 01:25:46 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 14:56:12 -0800 |
commit | 9521409265d3bae939ace4c259f765c29339730f (patch) | |
tree | c622a14e0b245b2b32b2915b45649fa06f2fb7ea /net/ipv4/tcp_yeah.c | |
parent | b43d8d85987bf21578e270c9f57c8503114ff399 (diff) |
[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 'net/ipv4/tcp_yeah.c')
0 files changed, 0 insertions, 0 deletions