]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - security/selinux/hooks.c
selinux: remove secondary ops call to unix_stream_connect
[mv-sheeva.git] / security / selinux / hooks.c
index 0bd36a17587c896eb024605c18b3dd7cf69083d5..25198e9896fae3984ee84133dc8e597f67e601d7 100644 (file)
@@ -3997,10 +3997,6 @@ static int selinux_socket_unix_stream_connect(struct socket *sock,
        struct avc_audit_data ad;
        int err;
 
-       err = secondary_ops->unix_stream_connect(sock, other, newsk);
-       if (err)
-               return err;
-
        isec = SOCK_INODE(sock)->i_security;
        other_isec = SOCK_INODE(other)->i_security;