diff options
| author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2013-01-09 09:14:48 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-04-04 19:38:27 -0300 |
| commit | 2400a1f89d329ad8948c08e6e08fef33ce42f73b (patch) | |
| tree | bd414e8bc45b187584624d7b7f9e7d49f84ee236 /tools/perf/scripts/python | |
| parent | 53faa685fa7df0e12751eebbda30bc7e7bb5e71a (diff) | |
| download | linux-2400a1f89d329ad8948c08e6e08fef33ce42f73b.tar.gz linux-2400a1f89d329ad8948c08e6e08fef33ce42f73b.zip | |
[media] soc-camera: protect against racing open(2) and rmmod
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
