android_kernel_xiaomi_sm8350/net/xfrm
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
..
Kconfig
Makefile
xfrm_algo.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-12-01 22:13:38 -08:00
xfrm_hash.c
xfrm_hash.h
xfrm_input.c
xfrm_ipcomp.c
xfrm_output.c
xfrm_policy.c netns xfrm: deal with dst entries in netns 2010-01-24 22:47:53 -08:00
xfrm_proc.c
xfrm_state.c netns xfrm: fix "ip xfrm state|policy count" misreport 2010-01-23 23:10:42 -08:00
xfrm_sysctl.c sysctl net: Remove unused binary sysctl code 2009-11-12 02:05:06 -08:00
xfrm_user.c netns xfrm: fix "ip xfrm state|policy count" misreport 2010-01-23 23:10:42 -08:00