svn commit: r284711 - head/sys/netinet

Ian Lepore ian at freebsd.org
Mon Jun 22 22:21:45 UTC 2015


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




More information about the svn-src-all mailing list