diff options
Diffstat (limited to 'net/unix')
-rw-r--r-- | net/unix/af_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c index 417d7a6c36cf..dd419d286204 100644 --- a/net/unix/af_unix.c +++ b/net/unix/af_unix.c | |||
@@ -1157,7 +1157,7 @@ restart: | |||
1157 | goto restart; | 1157 | goto restart; |
1158 | } | 1158 | } |
1159 | 1159 | ||
1160 | err = security_unix_stream_connect(sock, other->sk_socket, newsk); | 1160 | err = security_unix_stream_connect(sk, other, newsk); |
1161 | if (err) { | 1161 | if (err) { |
1162 | unix_state_unlock(sk); | 1162 | unix_state_unlock(sk); |
1163 | goto out_unlock; | 1163 | goto out_unlock; |