mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
c68cd1a01b
commit
b27aeadb59
9 changed files with 125 additions and 61 deletions
|
@ -187,6 +187,7 @@ extern void inet_get_local_port_range(int *low, int *high);
|
|||
extern int sysctl_ip_default_ttl;
|
||||
extern int sysctl_ip_nonlocal_bind;
|
||||
|
||||
extern struct ctl_path net_core_path[];
|
||||
extern struct ctl_path net_ipv4_ctl_path[];
|
||||
|
||||
/* From inetpeer.c */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue