Date: Sun, 28 Oct 2012 17:06:50 +0000 (UTC) From: Andre Oppermann <andre@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r242248 - user/andre/tcp_workqueue/sys/netinet Message-ID: <201210281706.q9SH6otS058531@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: andre Date: Sun Oct 28 17:06:50 2012 New Revision: 242248 URL: http://svn.freebsd.org/changeset/base/242248 Log: Add missing "else" to multi-"if" statement in cc_conn_init(). Modified: user/andre/tcp_workqueue/sys/netinet/tcp_input.c Modified: user/andre/tcp_workqueue/sys/netinet/tcp_input.c ============================================================================== --- user/andre/tcp_workqueue/sys/netinet/tcp_input.c Sun Oct 28 16:21:46 2012 (r242247) +++ user/andre/tcp_workqueue/sys/netinet/tcp_input.c Sun Oct 28 17:06:50 2012 (r242248) @@ -373,7 +373,7 @@ cc_conn_init(struct tcpcb *tp) /* Per RFC5681 Section 3.1 */ if (tp->t_maxseg > 2190) tp->snd_cwnd = 2 * tp->t_maxseg; - if (tp->t_maxseg > 1095) + else if (tp->t_maxseg > 1095) tp->snd_cwnd = 3 * tp->t_maxseg; else tp->snd_cwnd = 4 * tp->t_maxseg;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210281706.q9SH6otS058531>