rxrpc: Fix congestion control algorithm
[linux-2.6-block.git] / net / rxrpc / ar-internal.h
index 08c0a32db8c746f095b64c19b54ba6b2c1c815b2..08de24658f4fa9679cb489f7f889d9824ca73479 100644 (file)
@@ -697,7 +697,7 @@ struct rxrpc_call {
         * packets) rather than bytes.
         */
 #define RXRPC_TX_SMSS          RXRPC_JUMBO_DATALEN
-#define RXRPC_MIN_CWND         (RXRPC_TX_SMSS > 2190 ? 2 : RXRPC_TX_SMSS > 1095 ? 3 : 4)
+#define RXRPC_MIN_CWND         4
        u8                      cong_cwnd;      /* Congestion window size */
        u8                      cong_extra;     /* Extra to send for congestion management */
        u8                      cong_ssthresh;  /* Slow-start threshold */