[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100124.224806.58429357.davem@davemloft.net>
Date: Sun, 24 Jan 2010 22:48:06 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: adobriyan@...il.com
Cc: herbert@...dor.apana.org.au, netdev@...r.kernel.org
Subject: Re: [PATCH] netns xfrm: deal with dst entries in netns
From: Alexey Dobriyan <adobriyan@...il.com>
Date: Sun, 24 Jan 2010 17:40:14 +0200
> GC is non-existent in netns, so after you hit GC threshold, no new
> dst entries will be created until someone triggers cleanup in init_net.
>
> Make xfrm4_dst_ops and xfrm6_dst_ops per-netns.
> This is not done in a generic way, because it woule waste
> (AF_MAX - 2) * sizeof(struct dst_ops) bytes per-netns.
>
> Reorder GC threshold initialization so it'd be done before registering
> XFRM policies.
>
> Signed-off-by: Alexey Dobriyan <adobriyan@...il.com>
Applied, thanks Alexey.
--
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