codeslinger at gmail.com
Wed Sep 22 13:41:02 CEST 2004
I have a timer that fires every $X seconds while the module is loaded.
I want to stop and remove the timer upon module unload. What is the
proper way to accomplish this?
In the module's __exit function, I am using this code to remove the timer:
if (timer_pending( &timer))
Is this the right way, or unnecessary overkill? I've seen multiple
ideas on how best to properly remove a timer. Thanks in advance! :)
[ Tobias DiPasquale ]
More information about the netfilter