]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbb663ef1e4a4cfc41ca975d046ab2ce88886aa5a
treefcf7f2002ca3494ebe6dfeed8962ca0879776a0d
parent4f042a044df754d97660a1f931ba4759d371b4a8
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