aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/dccp/proto.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/dccp/proto.c b/net/dccp/proto.c
index 65b11ea90d85..568d266ee379 100644
--- a/net/dccp/proto.c
+++ b/net/dccp/proto.c
@@ -799,6 +799,7 @@ static int __init dccp_init(void)
799 if (rc) 799 if (rc)
800 goto out; 800 goto out;
801 801
802 rc = -ENOBUFS;
802 dccp_hashinfo.bind_bucket_cachep = 803 dccp_hashinfo.bind_bucket_cachep =
803 kmem_cache_create("dccp_bind_bucket", 804 kmem_cache_create("dccp_bind_bucket",
804 sizeof(struct inet_bind_bucket), 0, 805 sizeof(struct inet_bind_bucket), 0,
@@ -866,7 +867,8 @@ static int __init dccp_init(void)
866 INIT_HLIST_HEAD(&dccp_hashinfo.bhash[i].chain); 867 INIT_HLIST_HEAD(&dccp_hashinfo.bhash[i].chain);
867 } 868 }
868 869
869 if (init_dccp_v4_mibs()) 870 rc = init_dccp_v4_mibs();
871 if (rc)
870 goto out_free_dccp_bhash; 872 goto out_free_dccp_bhash;
871 873
872 rc = -EAGAIN; 874 rc = -EAGAIN;