diff options
author | Mike Isely <isely@pobox.com> | 2008-04-22 14:45:45 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-24 14:07:48 -0300 |
commit | 8f59100a42576c49e2170e9dc04f8b7ac922a74d (patch) | |
tree | 022033f2444f4d07d1f2c2804f79969acf8f6f84 /drivers/char/snsc_event.c | |
parent | c4a8828ddbf5fb445d2679ab006d5743540fc41a (diff) |
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 <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/char/snsc_event.c')
0 files changed, 0 insertions, 0 deletions