]> err.no Git - linux-2.6/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)
commitceb4340deb9bf5f8371d47ef906a83e6784345b0
tree10e9e3e24d59c86783fde652beb24ffdb9211e31
parente2780fb41102f9844ae6182c03908f03c3cb9163
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