]> git.karo-electronics.de Git - karo-tx-linux.git/commit
i4l: fix random freezes with AVM B1 drivers
authorKarsten Keil <kkeil@suse.de>
Thu, 18 Oct 2007 10:04:31 +0000 (03:04 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 16 Nov 2007 17:30:23 +0000 (09:30 -0800)
commit4b3c198a4b5d083eb84abb89fe30e32f562b2771
tree43f70b917448ad5bdfb02f7b6d176f5bacb9b284
parentdd0775720aa07a7b1c6a59bdd0f5d04a773395a7
i4l: fix random freezes with AVM B1 drivers

patch 9713d9e650045f7f2afd81d58a068827be306993 in mainline.

This fix the same issue which was debbuged for the C4 controller for the B1
versions.

The capilib_ function modify or traverse a linked list without locking.

This patch extends the existing locking to the calls of these function to
prevent access to a list which is in the middle of a modification.

Signed-off-by: Karsten Keil <kkeil@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/isdn/hardware/avm/b1.c