Skip to content
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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment