[NETFILTER]: FTP helper: search optimization
authorPatrick McHardy <kaber@trash.net>
Tue, 30 May 2006 01:25:38 +0000 (18:25 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 18 Jun 2006 04:29:07 +0000 (21:29 -0700)
commit7d8c50181778b6ba10c2bba9a2f22db9493bb245
treeb0a87854e0c377eccca3849351951d5456687729
parent695ecea3299dba2239d1cb4fd4d4e4c95a5b9ce7
[NETFILTER]: FTP helper: search optimization

Instead of skipping search entries for the wrong direction simply index
them by direction.

Based on patch by Pablo Neira <pablo@netfilter.org>

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/ip_conntrack_ftp.c
net/netfilter/nf_conntrack_ftp.c