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>
Showing
- include/net/ip.h 1 addition, 0 deletionsinclude/net/ip.h
- include/net/netns/xfrm.h 10 additions, 0 deletionsinclude/net/netns/xfrm.h
- include/net/xfrm.h 9 additions, 5 deletionsinclude/net/xfrm.h
- net/core/sysctl_net_core.c 5 additions, 37 deletionsnet/core/sysctl_net_core.c
- net/xfrm/Makefile 2 additions, 2 deletionsnet/xfrm/Makefile
- net/xfrm/xfrm_policy.c 7 additions, 3 deletionsnet/xfrm/xfrm_policy.c
- net/xfrm/xfrm_state.c 4 additions, 12 deletionsnet/xfrm/xfrm_state.c
- net/xfrm/xfrm_sysctl.c 85 additions, 0 deletionsnet/xfrm/xfrm_sysctl.c
- net/xfrm/xfrm_user.c 2 additions, 2 deletionsnet/xfrm/xfrm_user.c
Loading
Please register or sign in to comment