]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - net/core/sock.c
[PATCH] slab: remove kmem_cache_t
[mirror_ubuntu-bionic-kernel.git] / net / core / sock.c
index 419c7d3289c7a9689bca3e0164ed7ac01098c2d8..4a432da441e948c49b6829f083d2b4963dbd1586 100644 (file)
@@ -841,7 +841,7 @@ struct sock *sk_alloc(int family, gfp_t priority,
                      struct proto *prot, int zero_it)
 {
        struct sock *sk = NULL;
-       kmem_cache_t *slab = prot->slab;
+       struct kmem_cache *slab = prot->slab;
 
        if (slab != NULL)
                sk = kmem_cache_alloc(slab, priority);