netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Gerrit Renker <gerrit@erg.abdn.ac.uk>
To: Herbert Xu <herbert.xu@redhat.com>
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH][RFC] tcp: fix ambiguity in the `before' relation
Date: Mon, 8 Jan 2007 08:58:15 +0000	[thread overview]
Message-ID: <200701080858.15434@strip-the-willow> (raw)
In-Reply-To: <20070105203443.GA25173@gondor.apana.org.au>

|  > Since the old definition is not used in the way "before(x, y) && !before(y, x)", but rather in the
|  > fashion "before(x, y)" or "after(y, x)", the main advantage of the new definition is that it makes
|  > this type of use a safe case. 
|  
|  This is not true because
|  
|  	if (before(x, y))
|  		goto drop;
|  
|  means that you're effectively using it as !before(x, y).  In other words,
|  the change is good if our code read
|  
|  	if (before(x, y))
|  		process_packet();
|  
That is correct - whether it is indeed safe(r) to use needs to be evaluated in the individual context.

  reply	other threads:[~2007-01-08  8:57 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-14 15:07 [PATCH][RFC] tcp: fix ambiguity in the `before' relation Gerrit Renker
2006-12-20 18:31 ` David Miller
2006-12-21 14:42   ` Gerrit Renker
2006-12-22  0:53   ` Herbert Xu
2007-01-03  8:56     ` Gerrit Renker
2007-01-04  0:15       ` Herbert Xu
2007-01-04 12:49         ` Gerrit Renker
2007-01-05  3:59           ` Herbert Xu
2007-01-05 11:51             ` Gerrit Renker
2007-01-05 12:01               ` Herbert Xu
2007-01-05 12:49                 ` Gerrit Renker
2007-01-05 20:34                   ` Herbert Xu
2007-01-08  8:58                     ` Gerrit Renker [this message]
2006-12-20 20:01 ` Christoph Hellwig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200701080858.15434@strip-the-willow \
    --to=gerrit@erg.abdn.ac.uk \
    --cc=herbert.xu@redhat.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).