···190190 }191191192192 /* Set initial window to value enough for senders,193193- * following RFC1414. Senders, not following this RFC,193193+ * following RFC2414. Senders, not following this RFC,194194 * will be satisfied with 2.195195 */196196 if (mss > (1<<*rcv_wscale)) {197197- int init_cwnd = 4;198198- if (mss > 1460*3)197197+ int init_cwnd;198198+199199+ if (mss > 1460)199200 init_cwnd = 2;200200- else if (mss > 1460)201201- init_cwnd = 3;201201+ else202202+ init_cwnd = (mss > 1095) ? 3 : 4;202203 if (*rcv_wnd > init_cwnd*mss)203204 *rcv_wnd = init_cwnd*mss;204205 }