diff options
author | Al Viro <viro@ZenIV.linux.org.uk> | 2013-05-09 15:03:33 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-05-21 08:56:56 -0300 |
commit | a242f426108c284049a69710f871cc9f11b13e61 (patch) | |
tree | 0cddab2680085f478cf5c5c5b168143de90e8b30 /drivers/media/common | |
parent | 0735647c29bca5f33f38fcf457b3b0e9e5912f51 (diff) |
[media] videobuf_vm_{open,close} race fixes
just use videobuf_queue_lock(map->q) to protect map->count; vm_area_operations
->open() and ->close() are called just under vma->vm_mm->mmap_sem, which
doesn't help the drivers at all, since clonal VMAs are normally in different
address spaces...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/common')
0 files changed, 0 insertions, 0 deletions