[PATCH 20/38] netns ct: NOTRACK in netns

Jan Engelhardt jengelh at medozas.de
Thu Aug 21 16:06:37 PDT 2008


On Thursday 2008-08-21 18:04, adobriyan at gmail.com 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 similar:

(a) mmap(...)==NULL
(b) mmap(...)==MMAP_FAILED
(c) otherwise

The untracked ct is a singleton, and should stay one, unless
there are further reasons not to do so.



More information about the Containers mailing list