[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 2 Feb 2010 15:06:15 -0000 (GMT)
From: gerrit@....abdn.ac.uk
To: "Neil Horman" <nhorman@...driver.com>
Cc: "Gerrit Renker" <gerrit@....abdn.ac.uk>, davem@...emloft.net,
dccp@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH 02/86] dccp: revert buggy auto-loading of dccp module
> --- a/net/dccp/probe.c
> +++ b/net/dccp/probe.c
> @@ -161,7 +161,8 @@ static __init int dccpprobe_init(void)
> if (!proc_net_fops_create(&init_net, procname, S_IRUSR,
> &dccpprobe_fops))
> goto err0;
>
> - ret = try_then_request_module((register_jprobe(&dccp_send_probe) == 0),
> + try_then_request_module(
> + ((ret = register_jprobe(&dccp_send_probe)) == 0),
> "dccp");
> if (ret)
> goto err1;
Apologies for the late response -- delays are sometimes possible due to
day job. The only problem that I had with this patch was that it was
apparently not tested, causing the described problems.
> I've not tested it, but this should do it,
> without re-breaking the silent dependency.
I will test it and get back to you until tomorrow morning (GMT),
if it works I'll also push it out in the test tree.
Thanks a lot for getting back and devising a different route.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists