commit | 060c2424e3d0d2fc06e59631c699ba3e9f192709 | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Fri Jan 02 23:57:22 2009 +0000 |
committer | Harald Welte <laforge@gnumonks.org> | Fri Jan 02 23:57:22 2009 +0000 |
tree | 709f6aebd1e1e2717c3ad437d81c6dd922563412 | |
parent | 9b16cf3efd0a6777d3e7aa606f0352e8d1b9035a [diff] |
Add new management function to struct timer_list Make sure that del_timer succeeds and removes an entry from the list. Currently sending the LOCATION UPDATING REJECT from within the timer will not remove the list element as ->active gets set to 0 in the timer updating before calling the callback. Fix the segfault and allow the timer to be removed from within its own callback.