]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commitbaff6cdd3328e7b35c4e155d79105621812bceec
treeab034bb13f4c37f9d874b46b6f8d855ead19fb06
parent40ae91a758df916d7a5640fb2de20537ef7849fd
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