aboutsummaryrefslogtreecommitdiffstats
path: root/security/security.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/security.c')
-rw-r--r--security/security.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/security/security.c b/security/security.c
index 1b798d3df710..e5fb07a3052d 100644
--- a/security/security.c
+++ b/security/security.c
@@ -977,8 +977,7 @@ EXPORT_SYMBOL(security_inode_getsecctx);
977 977
978#ifdef CONFIG_SECURITY_NETWORK 978#ifdef CONFIG_SECURITY_NETWORK
979 979
980int security_unix_stream_connect(struct socket *sock, struct socket *other, 980int security_unix_stream_connect(struct sock *sock, struct sock *other, struct sock *newsk)
981 struct sock *newsk)
982{ 981{
983 return security_ops->unix_stream_connect(sock, other, newsk); 982 return security_ops->unix_stream_connect(sock, other, newsk);
984} 983}