Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jun 2015 16:20:35 -0600
From:      Ian Lepore <ian@freebsd.org>
To:        Hiren Panchasara <hiren@FreeBSD.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r284711 - head/sys/netinet
Message-ID:  <1435011635.33313.5.camel@freebsd.org>
In-Reply-To: <201506222216.t5MMG6Io044514@svn.freebsd.org>
References:  <201506222216.t5MMG6Io044514@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2015-06-22 at 22:16 +0000, Hiren Panchasara wrote:
> 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.
>  						 */
> 

I think this is a bad idea.  "iff" means "if and only if" in mathematics
and formal logic.  Comments are written in English.

-- Ian





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1435011635.33313.5.camel>