kernel-fxtec-pro1x/drivers/isdn/capi
Michael Buesch 053b47ff24 [PATCH] Workaround CAPI subsystem locking issue
I think the following patch should go into the kernel, until the ISDN/CAPI
guys create the real fix for this issue.

The issue is a concurrency issue with some internal CAPI data structure
which can crash the kernel.

On my FritzCard DSL with the AVM driver it crashes about once a day without
this workaround patch.  With this workaround patch it's rock-stable (at
least on UP, but I don't see why this shouldn't work on SMP as well.  But
maybe I'm missing something.)

This workaround is kind of a sledgehammer which inserts a global lock to
wrap around all the critical sections.  Of course, this is a scalability
issue, if you have many ISDN/CAPI cards.  But it prevents a crash.  So I
vote for this fix to get merged, until people come up with a better
solution.  Better have a stable kernel that's less scalable, than a
crashing and useless kernel.

This bug is in the kernel since 2.6.15 (at least).

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Cc: Kai Germaschewski <kai.germaschewski@gmx.de>
Cc: Karsten Keil <kkeil@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-02-12 09:48:35 -08:00
..
capi.c [PATCH] Workaround CAPI subsystem locking issue 2007-02-12 09:48:35 -08:00
capidrv.c [PATCH] isdn/capi: use ARRAY_SIZE when appropriate 2007-02-12 09:48:34 -08:00
capidrv.h
capifs.c
capifs.h
capilib.c
capiutil.c
kcapi.c WorkStruct: make allyesconfig 2006-11-22 14:57:56 +00:00
kcapi.h
kcapi_proc.c
Kconfig
Makefile