Skip to content
Snippets Groups Projects
Commit c08c464d authored by Al Viro's avatar Al Viro
Browse files

mISDN: fix the races with timers going off just as they are deleted


timer callback in timerdev.c both accesses struct mISDNtimer it's
called for *and* moves it to dev->expired.  We need del_timer_sync(),
or we risk kfree() freeing it right under dev_expire_timer() *and*
dev->expired getting corrupted.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 03feee37
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment