net: spread __net_init, __net_exit
[deliverable/linux.git] / net / dccp / ipv4.c
index efbcfdc12796b89e4d593b296bc1255f54cd9ee0..b195c4feaa0ae3390fefad4d06e50d43f08acf83 100644 (file)
@@ -408,7 +408,7 @@ struct sock *dccp_v4_request_recv_sock(struct sock *sk, struct sk_buff *skb,
 
        dccp_sync_mss(newsk, dst_mtu(dst));
 
-       __inet_hash_nolisten(newsk);
+       __inet_hash_nolisten(newsk, NULL);
        __inet_inherit_port(sk, newsk);
 
        return newsk;
@@ -996,7 +996,7 @@ static struct inet_protosw dccp_v4_protosw = {
        .flags          = INET_PROTOSW_ICSK,
 };
 
-static int dccp_v4_init_net(struct net *net)
+static int __net_init dccp_v4_init_net(struct net *net)
 {
        int err;
 
@@ -1005,7 +1005,7 @@ static int dccp_v4_init_net(struct net *net)
        return err;
 }
 
-static void dccp_v4_exit_net(struct net *net)
+static void __net_exit dccp_v4_exit_net(struct net *net)
 {
        inet_ctl_sock_destroy(net->dccp.v4_ctl_sk);
 }
This page took 0.026914 seconds and 5 git commands to generate.