summaryrefslogtreecommitdiff
path: root/net/unix
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-12-05 01:25:30 -0800
committerDavid S. Miller <davem@davemloft.net>2008-01-28 14:56:12 -0800
commitb43d8d85987bf21578e270c9f57c8503114ff399 (patch)
tree20a6fc625a2909bfd55e2d480d74398aa2ad11e0 /net/unix
parent0ac41e81462de20f87242caac2b9084c202c33b7 (diff)
downloadlinux-3.10-b43d8d85987bf21578e270c9f57c8503114ff399.tar.gz
linux-3.10-b43d8d85987bf21578e270c9f57c8503114ff399.tar.bz2
linux-3.10-b43d8d85987bf21578e270c9f57c8503114ff399.zip
[NETFILTER]: nfnetlink_queue: deobfuscate entry lookups
A queue entry lookup currently looks like this: find_dequeue_entry -> __find_dequeue_entry -> __find_entry -> cmpfn -> id_cmp Use simple open-coded list walking and kill the cmpfn for find_dequeue_entry. Instead add it to nfqnl_flush (after similar cleanups) and use nfqnl_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/unix')
0 files changed, 0 insertions, 0 deletions