Patrick McHardy wrote:
Alexey Dobriyan wrote:
On Thu, Sep 04, 2008 at 06:54:16PM +0200, Patrick McHardy wrote:
[EMAIL PROTECTED] wrote:
Make untracked conntrack per-netns. Compare conntracks with relevant
untracked one.
The following code you'll start laughing at this code:
if (ct ==
Alexey Dobriyan wrote:
On Thu, Sep 04, 2008 at 06:54:16PM +0200, Patrick McHardy wrote:
[EMAIL PROTECTED] wrote:
Make untracked conntrack per-netns. Compare conntracks with relevant
untracked one.
The following code you'll start laughing at this code:
if (ct == ct-ct_net-ct.untracked)
[EMAIL PROTECTED] wrote:
Make untracked conntrack per-netns. Compare conntracks with relevant
untracked one.
The following code you'll start laughing at this code:
if (ct == ct-ct_net-ct.untracked)
...
let me remind you that -ct_net is set in only one place, and
On Thu, Sep 04, 2008 at 06:54:16PM +0200, Patrick McHardy wrote:
[EMAIL PROTECTED] wrote:
Make untracked conntrack per-netns. Compare conntracks with relevant
untracked one.
The following code you'll start laughing at this code:
if (ct == ct-ct_net-ct.untracked)
...
let
On Thursday 2008-09-04 22:58, Alexey Dobriyan wrote:
In conntrack_mt_v0() ct-status can be used even for untracked connection,
is this right?
Yes.
For example, does setting IPS_NAT_DONE_MASK and IPS_CONFIRMED_BIT on
untracked conntracked really necessary?
Does it even happen? Something smells
On Thursday 2008-08-21 18:04, [EMAIL PROTECTED] wrote:
Make untracked conntrack per-netns.
Why? It does not store any useful information per se, it is
merely used to add a third type of ct, iow:
(a) ct==NULL
(b) ct!=NULL
(c) ct==untracked
mmap(2)'s return value for example has something
On Friday 2008-08-22 07:30, [EMAIL PROTECTED] wrote:
We wait for untracked ct refcount to drop to 1 back:
/* wait until all references to nf_conntrack_untracked are dropped */
while (atomic_read(nf_conntrack_untracked.ct_general.use) 1)
schedule();
Consequently it
On Sat, Aug 23, 2008 at 08:35:07PM -0400, Jan Engelhardt wrote:
On Friday 2008-08-22 07:30, [EMAIL PROTECTED] wrote:
We wait for untracked ct refcount to drop to 1 back:
/* wait until all references to nf_conntrack_untracked are dropped */
while
On Thu, Aug 21, 2008 at 07:06:37PM -0400, Jan Engelhardt wrote:
On Thursday 2008-08-21 18:04, [EMAIL PROTECTED] wrote:
Make untracked conntrack per-netns.
Why? It does not store any useful information per se, it is
merely used to add a third type of ct, iow:
(a) ct==NULL
(b) ct!=NULL