diff options
Diffstat (limited to 'security/selinux/netlink.c')
-rw-r--r-- | security/selinux/netlink.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/selinux/netlink.c b/security/selinux/netlink.c index e203883406dd..f49046de63a2 100644 --- a/security/selinux/netlink.c +++ b/security/selinux/netlink.c | |||
@@ -66,7 +66,7 @@ static void selnl_add_payload(struct nlmsghdr *nlh, int len, int msgtype, void * | |||
66 | static void selnl_notify(int msgtype, void *data) | 66 | static void selnl_notify(int msgtype, void *data) |
67 | { | 67 | { |
68 | int len; | 68 | int len; |
69 | unsigned char *tmp; | 69 | sk_buff_data_t tmp; |
70 | struct sk_buff *skb; | 70 | struct sk_buff *skb; |
71 | struct nlmsghdr *nlh; | 71 | struct nlmsghdr *nlh; |
72 | 72 | ||
@@ -104,7 +104,7 @@ void selnl_notify_policyload(u32 seqno) | |||
104 | 104 | ||
105 | static int __init selnl_init(void) | 105 | static int __init selnl_init(void) |
106 | { | 106 | { |
107 | selnl = netlink_kernel_create(NETLINK_SELINUX, SELNLGRP_MAX, NULL, | 107 | selnl = netlink_kernel_create(NETLINK_SELINUX, SELNLGRP_MAX, NULL, NULL, |
108 | THIS_MODULE); | 108 | THIS_MODULE); |
109 | if (selnl == NULL) | 109 | if (selnl == NULL) |
110 | panic("SELinux: Cannot create netlink socket."); | 110 | panic("SELinux: Cannot create netlink socket."); |