diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-11-20 11:30:26 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-11-20 11:30:26 -0200 |
commit | 85c98bb35cedc8a0d7ca7dc03ac20dfedab23922 (patch) | |
tree | e85bc1a4ce4ab9813ff95812ef0bfbb57cc72e6d /mailimport | |
parent | 9881db1cdfab70b538cdd0ad234dcafbf867b62d (diff) | |
download | mediapointer-dvb-s2-85c98bb35cedc8a0d7ca7dc03ac20dfedab23922.tar.gz mediapointer-dvb-s2-85c98bb35cedc8a0d7ca7dc03ac20dfedab23922.tar.bz2 |
em28xx: fix a race condition with hald
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Newer versions of hald tries to open it to call QUERYCAP.
Due to the lack of a proper locking, it is possible to open the device
before it finishes initialization.
This patch adds a lock to avoid this risk, and to protect the list of
em28xx devices.
While here, remove the uneeded BKL lock.
Priority: high
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'mailimport')
0 files changed, 0 insertions, 0 deletions