]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (7201): cx88-mpeg: Fix race condition in variable access
authorRicardo Cerqueira <v4l@cerqueira.org>
Thu, 14 Feb 2008 01:41:15 +0000 (22:41 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Mon, 18 Feb 2008 15:18:08 +0000 (12:18 -0300)
commit96fcd06c3ff46391df571e8872cd4f718b90c360
treeab034bb13f4c37f9d874b46b6f8d855ead19fb06
parent9d50b6d0244688733024a9179b09c05db9b18769
V4L/DVB (7201): cx88-mpeg: Fix race condition in variable access

There was a possible race condition in the increment/decrement of
the active device references counter.
Thanks to Trent Piepho (xyzzy@speakeasy.org) for bringing it up.

Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/cx88/cx88-mpeg.c