[DCCP]: Fix logfile overflow
authorIan McDonald <ian.mcdonald@jandi.co.nz>
Fri, 10 Nov 2006 15:09:10 +0000 (13:09 -0200)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:22:02 +0000 (21:22 -0800)
commitf45b3ec481581f24719d8ab0bc812c02fcedc2bc
treefd3907c220fe75055494466f1f3664a13ac095d4
parentfec5b80e4924f638418c21b09165dce8b79fee86
[DCCP]: Fix logfile overflow

This patch fixes data being spewed into the logs continually. As the
code stood if there was a large queue and long delays timeo would go
down to zero and never get reset.

This fixes it by resetting timeo. Put constant into header as well.

Signed-off-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
net/dccp/dccp.h
net/dccp/output.c