Alexey Dobriyan d7c7544c3d netns xfrm: deal with dst entries in netns
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@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-01-24 22:47:53 -08:00
..
2009-12-16 12:16:41 -05:00
2010-01-24 19:52:24 -08:00
2010-01-16 01:04:04 -08:00
2009-11-25 15:14:13 -08:00
2009-12-15 08:53:25 -08:00
2009-11-25 15:14:13 -08:00
2010-01-16 01:04:04 -08:00
2009-11-25 15:14:13 -08:00
2010-01-03 21:25:53 -08:00
2009-07-12 12:22:34 -07:00
2009-12-17 10:51:40 -05:00