V4L/DVB (7561): videobuf-vmalloc: stop streaming before unmap
authorMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 13 Apr 2008 18:07:56 +0000 (15:07 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 17:08:58 +0000 (14:08 -0300)
commitaa9479ed508d78dcd06479dc6274c9b02d1398df
treefcf7f2002ca3494ebe6dfeed8962ca0879776a0d
parentd6849652628d3479859ca10bdd4b21024466df5f
V4L/DVB (7561): videobuf-vmalloc: stop streaming before unmap

Before the patch, there were a risk of freeing and unmapping userspace memory,
while there were pending requests.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/videobuf-core.c
drivers/media/video/videobuf-vmalloc.c