From: Mike Isely Date: Tue, 22 Apr 2008 17:45:45 +0000 (-0300) Subject: V4L/DVB (7320): pvrusb2: Eliminate timer race during tear-down X-Git-Tag: v2.6.26-rc1~1084^2~346 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f59100a42576c49e2170e9dc04f8b7ac922a74d;p=pandora-kernel.git V4L/DVB (7320): pvrusb2: Eliminate timer race during tear-down The pvrusb2 tear-down logic was clearing two timers before stopping its internal work queue. That left a tiny window open where the work queue might run after the timers are stopped, possibly starting them again. This could lead to dangling pointers and an oops. Solution: Kill the work queue first, then delete the timers. Signed-off-by: Mike Isely Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed