From: Al Viro Date: Mon, 15 Apr 2013 21:04:04 +0000 (-0400) Subject: mISDN: fix misdn_add_timer()/misdn_del_timer() race X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~74^2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1678ec00a632f8b9204e28e5c506128881171604;p=pandora-kernel.git 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 --- Reading git-diff-tree failed