dccp_probe: Fix module load dependencies between dccp and dccp_probe
[linux-2.6.git] / net / dccp / probe.c
index dc32842..6fcfe87 100644 (file)
@@ -163,7 +163,8 @@ static __init int dccpprobe_init(void)
        if (!proc_net_fops_create(&init_net, procname, S_IRUSR, &dccpprobe_fops))
                goto err0;
 
-       ret = register_jprobe(&dccp_send_probe);
+       ret = try_then_request_module((register_jprobe(&dccp_send_probe) == 0),
+                                       "dccp");
        if (ret)
                goto err1;