[NETFILTER]: amanda helper: convert to textsearch infrastructure
commitc95261693467f0aeac7fafa69860ddfb02bc12f8
authorPatrick McHardy <kaber@trash.net>
Tue, 30 May 2006 01:25:58 +0000 (29 18:25 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 18 Jun 2006 04:29:09 +0000 (17 21:29 -0700)
tree07d8686091cfe893d021e6d897983331fc596b3c
parent7d8c50181778b6ba10c2bba9a2f22db9493bb245
[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>
net/ipv4/netfilter/Kconfig
net/ipv4/netfilter/ip_conntrack_amanda.c