]> git.baikalelectronics.ru Git - kernel.git/commit
[NETFILTER]: nf_conntrack_ftp: fix newline sequence number update
authorPatrick McHardy <kaber@trash.net>
Thu, 24 May 2007 23:40:51 +0000 (16:40 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 May 2007 23:40:51 +0000 (16:40 -0700)
commit7d41918ca995cc049a64373d62fdfe653a5923f3
tree2d506b9167f0fdf742f70427d292e9c16dcd630b
parent613254d1567b75a8ac090cf709b5a61baab2bf00
[NETFILTER]: nf_conntrack_ftp: fix newline sequence number update

When trying to locate the oldest entry in the history of newline character
sequence numbers, the sequence number of the current entry is incorrectly
compared with the index of the oldest sequence number instead of the number
itself.

Additionally it is not made sure that the current sequence number really
is after the oldest known one.

Based on report by YU, Haitao <yuhaitao@tsinghua.org.cn>

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