hi all,
im trying to develop a software to emulate network partitioning to
evaluate distributed applications. in the code i need to specify some
temporal triggers like:
init_timer(&foo);
start_trigger.function = some_function;
start_trigger.data = arguments;
start_trigger.expires = jiffies + msecs_to_jiffies(HZ * 1000);
add_timer(&foo);
im using it to register a netfilter hook and it works perfectly.
however, when i need to set up a trigger do unregister the netfilter
hook, the system gets itself slow, dmesg returns lots of information
about BUG SCHEDULING and stuff like that.
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.
best regards,
Gustavo.
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
--
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