]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mISDN: fix races between misdn_del_timer() and timer callback
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 15 Apr 2013 20:55:41 +0000 (16:55 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 29 Apr 2013 19:41:48 +0000 (15:41 -0400)
commit1b1089561ce596a4032ba1039365090304db1cfd
tree5958e757c7d664ea874ab2b11bf231f8f5964cbd
parentc08c464d6f4136d9e48ffa23c0bcd93442343b2a
mISDN: fix races between misdn_del_timer() and timer callback

mark the victim with negative ->id if misdn_del_timer() finds it on
the list, have timer callback *not* move ones so marked to dev->expired

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/isdn/mISDN/timerdev.c