diff options
Diffstat (limited to 'net/dccp/proto.c')
-rw-r--r-- | net/dccp/proto.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/net/dccp/proto.c b/net/dccp/proto.c index 64806fbf44de..3ba1ff435798 100644 --- a/net/dccp/proto.c +++ b/net/dccp/proto.c | |||
@@ -47,6 +47,14 @@ atomic_t dccp_orphan_count = ATOMIC_INIT(0); | |||
47 | 47 | ||
48 | EXPORT_SYMBOL_GPL(dccp_orphan_count); | 48 | EXPORT_SYMBOL_GPL(dccp_orphan_count); |
49 | 49 | ||
50 | struct inet_hashinfo __cacheline_aligned dccp_hashinfo = { | ||
51 | .lhash_lock = RW_LOCK_UNLOCKED, | ||
52 | .lhash_users = ATOMIC_INIT(0), | ||
53 | .lhash_wait = __WAIT_QUEUE_HEAD_INITIALIZER(dccp_hashinfo.lhash_wait), | ||
54 | }; | ||
55 | |||
56 | EXPORT_SYMBOL_GPL(dccp_hashinfo); | ||
57 | |||
50 | static struct net_protocol dccp_protocol = { | 58 | static struct net_protocol dccp_protocol = { |
51 | .handler = dccp_v4_rcv, | 59 | .handler = dccp_v4_rcv, |
52 | .err_handler = dccp_v4_err, | 60 | .err_handler = dccp_v4_err, |