]> err.no Git - linux-2.6/blobdiff - net/ipv4/tcp_vegas.c
[PATCH] lockdep: fix RT_HASH_LOCK_SZ
[linux-2.6] / net / ipv4 / tcp_vegas.c
index 13e7e6e8df161ef009250b58c520717dfdf153cc..490360b5b4bf19a8fd306ca178d2dd5da7a26e6d 100644 (file)
@@ -31,7 +31,6 @@
  *     assumed senders never went idle.
  */
 
-#include <linux/config.h>
 #include <linux/mm.h>
 #include <linux/module.h>
 #include <linux/skbuff.h>
@@ -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. */