diff options
Diffstat (limited to 'security/selinux/netlink.c')
-rw-r--r-- | security/selinux/netlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/netlink.c b/security/selinux/netlink.c index 18d08acafa78..341dbe2579be 100644 --- a/security/selinux/netlink.c +++ b/security/selinux/netlink.c | |||
@@ -103,7 +103,7 @@ void selnl_notify_policyload(u32 seqno) | |||
103 | 103 | ||
104 | static int __init selnl_init(void) | 104 | static int __init selnl_init(void) |
105 | { | 105 | { |
106 | selnl = netlink_kernel_create(NETLINK_SELINUX, NULL); | 106 | selnl = netlink_kernel_create(NETLINK_SELINUX, NULL, THIS_MODULE); |
107 | if (selnl == NULL) | 107 | if (selnl == NULL) |
108 | panic("SELinux: Cannot create netlink socket."); | 108 | panic("SELinux: Cannot create netlink socket."); |
109 | netlink_set_nonroot(NETLINK_SELINUX, NL_NONROOT_RECV); | 109 | netlink_set_nonroot(NETLINK_SELINUX, NL_NONROOT_RECV); |