diff options
Diffstat (limited to 'net/core/sock.c')
-rw-r--r-- | net/core/sock.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/core/sock.c b/net/core/sock.c index 654e38a99759..e891bcf325ca 100644 --- a/net/core/sock.c +++ b/net/core/sock.c | |||
@@ -2799,8 +2799,7 @@ int proto_register(struct proto *prot, int alloc_slab) | |||
2799 | kmem_cache_create(prot->twsk_prot->twsk_slab_name, | 2799 | kmem_cache_create(prot->twsk_prot->twsk_slab_name, |
2800 | prot->twsk_prot->twsk_obj_size, | 2800 | prot->twsk_prot->twsk_obj_size, |
2801 | 0, | 2801 | 0, |
2802 | SLAB_HWCACHE_ALIGN | | 2802 | prot->slab_flags, |
2803 | prot->slab_flags, | ||
2804 | NULL); | 2803 | NULL); |
2805 | if (prot->twsk_prot->twsk_slab == NULL) | 2804 | if (prot->twsk_prot->twsk_slab == NULL) |
2806 | goto out_free_timewait_sock_slab_name; | 2805 | goto out_free_timewait_sock_slab_name; |