summaryrefslogtreecommitdiff
path: root/security/selinux/netlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/selinux/netlink.c')
-rw-r--r--security/selinux/netlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/netlink.c b/security/selinux/netlink.c
index 621e2e9cd6a1..1760aee712fd 100644
--- a/security/selinux/netlink.c
+++ b/security/selinux/netlink.c
@@ -19,7 +19,7 @@
#include "security.h"
-static struct sock *selnl;
+static struct sock *selnl __ro_after_init;
static int selnl_msglen(int msgtype)
{