]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/socket.c
[IPSEC] AH4: Update IPv4 options handling to conform to RFC 4302.
[karo-tx-linux.git] / net / socket.c
index b7111425004656a3e35be074a2372af43da29e6c..7d44453dfae13a43a4e4a1a72e077ff644d96661 100644 (file)
@@ -272,8 +272,7 @@ static int init_inodecache(void)
                                              (SLAB_HWCACHE_ALIGN |
                                               SLAB_RECLAIM_ACCOUNT |
                                               SLAB_MEM_SPREAD),
-                                             init_once,
-                                             NULL);
+                                             init_once);
        if (sock_inode_cachep == NULL)
                return -ENOMEM;
        return 0;
@@ -1169,7 +1168,7 @@ static int __sock_create(int family, int type, int protocol,
        module_put(pf->owner);
        err = security_socket_post_create(sock, family, type, protocol, kern);
        if (err)
-               goto out_release;
+               goto out_sock_release;
        *res = sock;
 
        return 0;