From owner-svn-src-all@FreeBSD.ORG Mon Jun 22 22:16:06 2015 Return-Path: Delivered-To: svn-src-all@nevdull.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E19CCEC; Mon, 22 Jun 2015 22:16:06 +0000 (UTC) (envelope-from hiren@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CFDA6EE5; Mon, 22 Jun 2015 22:16:06 +0000 (UTC) (envelope-from hiren@FreeBSD.org) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t5MMG6T2044515; Mon, 22 Jun 2015 22:16:06 GMT (envelope-from hiren@FreeBSD.org) Received: (from hiren@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t5MMG6Io044514; Mon, 22 Jun 2015 22:16:06 GMT (envelope-from hiren@FreeBSD.org) Message-Id: <201506222216.t5MMG6Io044514@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: hiren set sender to hiren@FreeBSD.org using -f From: Hiren Panchasara Date: Mon, 22 Jun 2015 22:16:06 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r284711 - head/sys/netinet X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jun 2015 22:16:07 -0000 Author: hiren Date: Mon Jun 22 22:16:06 2015 New Revision: 284711 URL: https://svnweb.freebsd.org/changeset/base/284711 Log: Reverting r284710. Today I learned: iff == if and only if. Suggested by: many Modified: head/sys/netinet/tcp_input.c Modified: head/sys/netinet/tcp_input.c ============================================================================== --- head/sys/netinet/tcp_input.c Mon Jun 22 21:53:55 2015 (r284710) +++ head/sys/netinet/tcp_input.c Mon Jun 22 22:16:06 2015 (r284711) @@ -2476,7 +2476,7 @@ tcp_do_segment(struct mbuf *m, struct tc /* * Compute the amount of data in flight first. - * We can inject new data into the pipe if + * We can inject new data into the pipe iff * we have less than 1/2 the original window's * worth of data in flight. */