Re: nf_unregister_hook problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 2009-06-23 20:47, gmoliveira@xxxxxxxxxxxx wrote:
>
>im using this:
>
>init_timer(&foo2);
>stop_trigger.function = nf_unregister_hook;
>stop_trigger.data = &nf_hook;
>stop_trigger.expires = jiffies + msecs_to_jiffies(HZ * 5000);
>add_timer(&foo2);
>
>it works to every function until now, unless nf_unregister_hook.

Does the problem go away if you call it indirectly? Like:


stop_trigger.function = myfunc;
...

myfunc(void)
{
	nf_unregister_hook(&nf_hook);
}

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux