[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <48C00A4E.5060103@trash.net>
Date: Thu, 04 Sep 2008 18:18:22 +0200
From: Patrick McHardy <kaber@...sh.net>
To: adobriyan@...il.com
CC: netfilter-devel@...r.kernel.org, netdev@...r.kernel.org,
containers@...ts.linux-foundation.org
Subject: Re: [PATCH 07/38] netns ct: add ->ct_net -- pointer from conntrack
to netns
adobriyan@...il.com wrote:
> Conntrack (struct nf_conn) gets pointer to netns: ->ct_net -- netns in which
> it was created. It comes from netdevice.
>
> ->ct_net is write-once field.
>
> Every conntrack in system has ->ct_net initialized, no exceptions.
>
> ->ct_net doesn't pin netns: conntracks are recycled after timeouts and
> pinning background traffic will prevent netns from even starting shutdown
> sequence.
>
> Right now every conntrack is created in init_net.
Applied and fixed up another overly long line.
> + h = init_conntrack(&init_net, &tuple, l3proto, l4proto, skb, dataoff);
This will probably cause clashes later, please don't
do that.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists