git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53faa68
)
[media] soc-camera: protect against racing open(2) and rmmod
author
Guennadi Liakhovetski
<g.liakhovetski@gmx.de>
Wed, 9 Jan 2013 12:14:48 +0000
(09:14 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Thu, 4 Apr 2013 22:38:27 +0000
(19:38 -0300)
To protect against open() racing with rmmod, hold the list_lock also while
obtaining a reference to the camera host driver and check that the video
device hasn't been unregistered yet.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
No differences found