diff options
Diffstat (limited to 'net/xfrm/xfrm_sysctl.c')
| -rw-r--r-- | net/xfrm/xfrm_sysctl.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/xfrm/xfrm_sysctl.c b/net/xfrm/xfrm_sysctl.c index 2e221f2cad7e..05640bc9594b 100644 --- a/net/xfrm/xfrm_sysctl.c +++ b/net/xfrm/xfrm_sysctl.c | |||
| @@ -1,8 +1,9 @@ | |||
| 1 | #include <linux/sysctl.h> | 1 | #include <linux/sysctl.h> |
| 2 | #include <linux/slab.h> | ||
| 2 | #include <net/net_namespace.h> | 3 | #include <net/net_namespace.h> |
| 3 | #include <net/xfrm.h> | 4 | #include <net/xfrm.h> |
| 4 | 5 | ||
| 5 | static void __xfrm_sysctl_init(struct net *net) | 6 | static void __net_init __xfrm_sysctl_init(struct net *net) |
| 6 | { | 7 | { |
| 7 | net->xfrm.sysctl_aevent_etime = XFRM_AE_ETIME; | 8 | net->xfrm.sysctl_aevent_etime = XFRM_AE_ETIME; |
| 8 | net->xfrm.sysctl_aevent_rseqth = XFRM_AE_SEQT_SIZE; | 9 | net->xfrm.sysctl_aevent_rseqth = XFRM_AE_SEQT_SIZE; |
| @@ -64,7 +65,7 @@ out_kmemdup: | |||
| 64 | return -ENOMEM; | 65 | return -ENOMEM; |
| 65 | } | 66 | } |
| 66 | 67 | ||
| 67 | void xfrm_sysctl_fini(struct net *net) | 68 | void __net_exit xfrm_sysctl_fini(struct net *net) |
| 68 | { | 69 | { |
| 69 | struct ctl_table *table; | 70 | struct ctl_table *table; |
| 70 | 71 | ||
