]> git.baikalelectronics.ru Git - kernel.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)
commit852490c27cf0f43dd43ef7580587a5f937be9f17
tree5958e757c7d664ea874ab2b11bf231f8f5964cbd
parent3986195635a1497a5d4309049fdeb12298d555eb
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