Skip to content
Commit 9713d9e6 authored by Karsten Keil's avatar Karsten Keil Committed by Linus Torvalds
Browse files

i4l: fix random freezes with AVM B1 drivers



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: default avatarKarsten Keil <kkeil@suse.de>
C: <stable@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 0c42ea3f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment