X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=net%2Fipv4%2Ftcp_vegas.c;h=490360b5b4bf19a8fd306ca178d2dd5da7a26e6d;hb=3fbcd940dfb6f11d016801a5e4b89cbe88ddc412;hp=13e7e6e8df161ef009250b58c520717dfdf153cc;hpb=913f2d792ff584bf9ebf5968472b3e4ffe0fd9c8;p=powerpc.git diff --git a/net/ipv4/tcp_vegas.c b/net/ipv4/tcp_vegas.c index 13e7e6e8df..490360b5b4 100644 --- a/net/ipv4/tcp_vegas.c +++ b/net/ipv4/tcp_vegas.c @@ -31,7 +31,6 @@ * assumed senders never went idle. */ -#include #include #include #include @@ -330,6 +329,10 @@ static void tcp_vegas_cong_avoid(struct sock *sk, u32 ack, vegas->cntRTT = 0; vegas->minRTT = 0x7fffffff; } + /* Use normal slow start */ + else if (tp->snd_cwnd <= tp->snd_ssthresh) + tcp_slow_start(tp); + } /* Extract info for Tcp socket info provided via netlink. */