]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (7687): pvrusb2: Fix oops in pvrusb2-dvb
authorMike Isely <isely@pobox.com>
Wed, 6 Feb 2008 07:24:51 +0000 (04:24 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 17:09:46 +0000 (14:09 -0300)
commitf6ebe043bab0f87144b288e7be5444796ec5e4a4
tree10e9e3e24d59c86783fde652beb24ffdb9211e31
parent4c9d20dd0b864e5b4e2e9ba8cafbabb64859e5ed
V4L/DVB (7687): pvrusb2: Fix oops in pvrusb2-dvb

The pvrusb2-dvb feed thread cannot be allowed to exit by itself
without first waiting for kthread_should_stop() to return true.
Otherwise the driver will have a dangling task_struct context, which
will cause a very nasty kernel oops.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/pvrusb2/pvrusb2-dvb.c