summaryrefslogtreecommitdiffstats
path: root/drivers/isdn/mISDN/hwchannel.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-04-15 22:31:13 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2013-04-29 21:41:47 +0200
commitc08c464d6f4136d9e48ffa23c0bcd93442343b2a (patch)
tree988674bee82e2e7f94a258066899e2e0408cf3eb /drivers/isdn/mISDN/hwchannel.c
parentdvb_frontend: don't mess with ->f_op in ->release() (diff)
downloadlinux-c08c464d6f4136d9e48ffa23c0bcd93442343b2a.tar.xz
linux-c08c464d6f4136d9e48ffa23c0bcd93442343b2a.zip
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: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/isdn/mISDN/hwchannel.c')
0 files changed, 0 insertions, 0 deletions