diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-04-15 17:04:04 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-04-29 15:41:48 -0400 |
commit | 1678ec00a632f8b9204e28e5c506128881171604 (patch) | |
tree | 2e693539d928e501e91ddfedf90ea780e9e2bea2 /drivers/isdn/sc/hardware.h | |
parent | 1b1089561ce596a4032ba1039365090304db1cfd (diff) |
mISDN: fix misdn_add_timer()/misdn_del_timer() race
do add_timer() *before* unlocking dev->lock, or unpleasant things can
happen if misdn_del_timer() on another CPU finds the sucker, calls
del_timer_sync() (which does nothing, since we hadn't started the
timer yet) and frees it, just as we get around to add_timer()...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/isdn/sc/hardware.h')
0 files changed, 0 insertions, 0 deletions