]> git.karo-electronics.de Git - karo-tx-linux.git/commit
dib0700: protect the dib0700 buffer access
authorOlivier Grenie <olivier.grenie@dibcom.fr>
Mon, 1 Aug 2011 15:45:58 +0000 (12:45 -0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Nov 2011 17:36:14 +0000 (09:36 -0800)
commit10d65fc3a3348315c2d30e19419e8db6ed486b8a
tree497bc74dbb243623ba58872421af4db8b4afc7e0
parent4d2ae8d3b315fbf36d760fd8dd755fb1d55a0f87
dib0700: protect the dib0700 buffer access

commit bff469f4167fdabfe15294f375577d7eadbaa1bb upstream.

This patch protects the common buffer access inside the dib0700 in order
to manage concurrent access. This protection is done using mutex.

Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
Cc: Florian Mickler <florian@mickler.org>
Signed-off-by: Javier Marcet <javier@marcet.info>
Signed-off-by: Olivier Grenie <olivier.grenie@dibcom.fr>
Signed-off-by: Patrick Boettcher <patrick.boettcher@dibcom.fr>
[mchehab@redhat.com: dprint requires 3 arguments. Replaced by dib_info]
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/media/dvb/dvb-usb/dib0700_core.c