linux/drivers/isdn/capi
Tilman Schmidt e48470217d isdn: avoid races in capidrv
In several places, capidrv sends a CAPI message to the ISDN
device and then updates its internal state accordingly.
If the response message from the device arrives before the
state is updated, it may be rejected or processed incorrectly.
Avoid these races by updating the state before emitting the
message.

Impact: bugfix
Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Acked-by: Karsten Keil <keil@b1-systems.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-10-06 22:20:53 -07:00
..
capi.c isdn: accept CAPI Informational Info values as success 2009-10-06 22:20:52 -07:00
capidrv.c isdn: avoid races in capidrv 2009-10-06 22:20:53 -07:00
capidrv.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
capifs.c const: mark remaining super_operations const 2009-09-22 07:17:24 -07:00
capifs.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
capilib.c isdn: replace remaining __FUNCTION__ occurrences 2008-04-28 08:58:34 -07:00
capiutil.c trivial: remove unnecessary semicolons 2009-09-21 15:14:58 +02:00
kcapi_proc.c seq_file: constify seq_operations 2009-09-23 07:39:29 -07:00
kcapi.c isdn: rename capi_ctr_reseted() to capi_ctr_down() 2009-06-08 00:45:50 -07:00
kcapi.h isdn: replace remaining __FUNCTION__ occurrences 2008-04-28 08:58:34 -07:00
Kconfig Use menuconfig objects: ISDN: CONFIG_ISDN_CAPI 2007-07-17 10:23:05 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00