]> git.baikalelectronics.ru Git - kernel.git/commit
[NETFILTER]: amanda helper: convert to textsearch infrastructure
authorPatrick McHardy <kaber@trash.net>
Tue, 30 May 2006 01:25:58 +0000 (18:25 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 18 Jun 2006 04:29:09 +0000 (21:29 -0700)
commit41531682024dc645905cbe33c998d465074a586a
tree07d8686091cfe893d021e6d897983331fc596b3c
parent5d4522107a39b46f2f94e510ef293d2d2ccea053
[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