Revision d7c7544c3d5f59033d1bf3236bc7b289f5f26b75 authored by Alexey Dobriyan on 25 January 2010, 06:47:53 UTC, committed by David S. Miller on 25 January 2010, 06:47:53 UTC
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>
1 parent a40ccc6
History
File Mode Size
Makefile -rw-r--r-- 175 bytes
lzo1x_compress.c -rw-r--r-- 4.3 KB
lzo1x_decompress.c -rw-r--r-- 4.9 KB
lzodefs.h -rw-r--r-- 1.1 KB

back to top