From owner-svn-src-user@FreeBSD.ORG Sun Oct 28 17:06:50 2012 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E0249CA0; Sun, 28 Oct 2012 17:06:50 +0000 (UTC) (envelope-from andre@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id C219C8FC0C; Sun, 28 Oct 2012 17:06:50 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q9SH6oLN058533; Sun, 28 Oct 2012 17:06:50 GMT (envelope-from andre@svn.freebsd.org) Received: (from andre@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q9SH6otS058531; Sun, 28 Oct 2012 17:06:50 GMT (envelope-from andre@svn.freebsd.org) Message-Id: <201210281706.q9SH6otS058531@svn.freebsd.org> From: Andre Oppermann Date: Sun, 28 Oct 2012 17:06:50 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r242248 - user/andre/tcp_workqueue/sys/netinet X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2012 17:06:51 -0000 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;