]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/socket.c
[TCP]: 'dst' can be NULL in tcp_rto_min()
[linux-2.6-omap-h63xx.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;