commit | 1678ec00a632f8b9204e28e5c506128881171604 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Mon Apr 15 17:04:04 2013 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Mon Apr 29 15:41:48 2013 -0400 |
tree | 2e693539d928e501e91ddfedf90ea780e9e2bea2 | |
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>