aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/sock.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/core/sock.c')
-rw-r--r--net/core/sock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/sock.c b/net/core/sock.c
index 419c7d3289c7..4a432da441e9 100644
--- a/net/core/sock.c
+++ b/net/core/sock.c
@@ -841,7 +841,7 @@ struct sock *sk_alloc(int family, gfp_t priority,
841 struct proto *prot, int zero_it) 841 struct proto *prot, int zero_it)
842{ 842{
843 struct sock *sk = NULL; 843 struct sock *sk = NULL;
844 kmem_cache_t *slab = prot->slab; 844 struct kmem_cache *slab = prot->slab;
845 845
846 if (slab != NULL) 846 if (slab != NULL)
847 sk = kmem_cache_alloc(slab, priority); 847 sk = kmem_cache_alloc(slab, priority);