All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Cc: netfilter-devel@vger.kernel.org,
	Saatvik Agarwal <saatvik.agarwal@stanford.edu>
Subject: Re: [PATCH] TCP simultaneous open support
Date: Tue, 02 Jun 2009 13:53:59 +0200	[thread overview]
Message-ID: <4A2512D7.8010806@trash.net> (raw)
In-Reply-To: <alpine.DEB.2.00.0906021336080.11925@blackhole.kfki.hu>

Jozsef Kadlecsik wrote:
> Hi Patrick,
> 
> On Tue, 2 Jun 2009, Patrick McHardy wrote:
> 
>> Thanks Jozsef. Just one question:
>>
>>> -	TCP_CONNTRACK_LISTEN,
>>> +	TCP_CONNTRACK_SYN_SENT2,
>> is this constant already used in userspace? From your conntrack
>> output above I'd assume the answer is yes, so we should keep it
>> around as an alias to avoid compilation errors.
> 
> libnetfilter_conntrack has got it's own header file which defines 
> TCP_CONNTRACK_LISTEN and it's string interpretation as "LISTEN" state. 
> 'conntrack' relies on libnetfilter_conntrack when translating the 
> numerical id received from the kernel to the string value, that is the 
> reason for the "misinterpretation" of the state. So from 
> libnetfilter_conntrack and conntrack-tools point of view we can safely 
> remove TCP_CONNTRACK_LISTEN.
> 
> I'm not aware of any project which would use the kernel header file 
> directly, but that does not mean there isn't any. We might keep the 
> symbol, of course. Shall I resend the patch with TCP_CONNTRACK_LISTEN 
> preserved?

Thanks for the explanation. I think we should keep it around just
to make sure. No need to resend though, I'll just add it myself.

Thanks.

      reply	other threads:[~2009-06-02 11:54 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-31 14:28 [PATCH] TCP simultaneous open support Jozsef Kadlecsik
2009-05-31 14:33 ` Jozsef Kadlecsik
2009-05-31 23:04   ` Saatvik Agarwal
2009-05-31 23:50     ` Jan Engelhardt
2009-06-01  0:50       ` Saatvik Agarwal
2009-06-02  8:41         ` Jozsef Kadlecsik
2009-06-02 12:02   ` Patrick McHardy
2009-06-02 12:09     ` Jozsef Kadlecsik
2009-06-02 12:12       ` Patrick McHardy
2009-06-02 11:32 ` Patrick McHardy
2009-06-02 11:42   ` Pablo Neira Ayuso
2009-06-02 11:51   ` Jozsef Kadlecsik
2009-06-02 11:53     ` Patrick McHardy [this message]

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=4A2512D7.8010806@trash.net \
    --to=kaber@trash.net \
    --cc=kadlec@blackhole.kfki.hu \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=saatvik.agarwal@stanford.edu \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.