aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/netfilter/Kconfig
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2006-05-29 18:25:58 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-06-17 21:29:09 -0700
commitc95261693467f0aeac7fafa69860ddfb02bc12f8 (patch)
tree07d8686091cfe893d021e6d897983331fc596b3c /net/ipv4/netfilter/Kconfig
parent[NETFILTER]: FTP helper: search optimization (diff)
downloadlinux-dev-c95261693467f0aeac7fafa69860ddfb02bc12f8.tar.xz
linux-dev-c95261693467f0aeac7fafa69860ddfb02bc12f8.zip
[NETFILTER]: amanda helper: convert to textsearch infrastructure
When a port number within a packet is replaced by a differently sized number only the packet is resized, but not the copy of the data. Following port numbers are rewritten based on their offsets within the copy, leading to packet corruption. Convert the amanda helper to the textsearch infrastructure to avoid the copy entirely. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/netfilter/Kconfig')
-rw-r--r--net/ipv4/netfilter/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ipv4/netfilter/Kconfig b/net/ipv4/netfilter/Kconfig
index d4072533da21..1540e227890f 100644
--- a/net/ipv4/netfilter/Kconfig
+++ b/net/ipv4/netfilter/Kconfig
@@ -142,6 +142,8 @@ config IP_NF_TFTP
config IP_NF_AMANDA
tristate "Amanda backup protocol support"
depends on IP_NF_CONNTRACK
+ select TEXTSEARCH
+ select TEXTSEARCH_KMP
help
If you are running the Amanda backup package <http://www.amanda.org/>
on this machine or machines that will be MASQUERADED through this