diff options
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
-rw-r--r-- | net/unix/sysctl_net_unix.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/unix/sysctl_net_unix.c b/net/unix/sysctl_net_unix.c index 708f5df6b7f0..397cffebb3b6 100644 --- a/net/unix/sysctl_net_unix.c +++ b/net/unix/sysctl_net_unix.c | |||
@@ -10,6 +10,7 @@ | |||
10 | */ | 10 | */ |
11 | 11 | ||
12 | #include <linux/mm.h> | 12 | #include <linux/mm.h> |
13 | #include <linux/slab.h> | ||
13 | #include <linux/sysctl.h> | 14 | #include <linux/sysctl.h> |
14 | 15 | ||
15 | #include <net/af_unix.h> | 16 | #include <net/af_unix.h> |
@@ -31,7 +32,7 @@ static struct ctl_path unix_path[] = { | |||
31 | { }, | 32 | { }, |
32 | }; | 33 | }; |
33 | 34 | ||
34 | int unix_sysctl_register(struct net *net) | 35 | int __net_init unix_sysctl_register(struct net *net) |
35 | { | 36 | { |
36 | struct ctl_table *table; | 37 | struct ctl_table *table; |
37 | 38 | ||