netns xfrm: per-netns sysctls
authorAlexey Dobriyan <adobriyan@gmail.com>
Wed, 26 Nov 2008 02:00:48 +0000 (18:00 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Nov 2008 02:00:48 +0000 (18:00 -0800)
commitb27aeadb5948d400df83db4d29590fb9862ba49d
treef76cc43150164facbb890e4d5c619a99fe6ce303
parentc68cd1a01ba56995d85a4a62b195b2b3f6415c64
netns xfrm: per-netns sysctls

Make
net.core.xfrm_aevent_etime
net.core.xfrm_acq_expires
net.core.xfrm_aevent_rseqth
net.core.xfrm_larval_drop

sysctls per-netns.

For that make net_core_path[] global, register it to prevent two
/proc/net/core antries and change initcall position -- xfrm_init() is called
from fs_initcall, so this one should be fs_initcall at least.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip.h
include/net/netns/xfrm.h
include/net/xfrm.h
net/core/sysctl_net_core.c
net/xfrm/Makefile
net/xfrm/xfrm_policy.c
net/xfrm/xfrm_state.c
net/xfrm/xfrm_sysctl.c [new file with mode: 0644]
net/xfrm/xfrm_user.c