Re: [PATCH] TCP simultaneous open support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

Best regards,
Jozsef
-
E-mail  : kadlec@xxxxxxxxxxxxxxxxx, kadlec@xxxxxxxxxxxx
PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : KFKI Research Institute for Particle and Nuclear Physics
          H-1525 Budapest 114, POB. 49, Hungary
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux