kernel-hacking-2024-linux-s.../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
capifs.c const: mark remaining super_operations const 2009-09-22 07:17:24 -07:00
capifs.h
capilib.c
capiutil.c trivial: remove unnecessary semicolons 2009-09-21 15:14:58 +02:00
kcapi.c isdn: rename capi_ctr_reseted() to capi_ctr_down() 2009-06-08 00:45:50 -07:00
kcapi.h
kcapi_proc.c seq_file: constify seq_operations 2009-09-23 07:39:29 -07:00
Kconfig
Makefile